summaryrefslogtreecommitdiff
path: root/core/iputils/iputils.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
committerroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
commit769ba4645df3c2f793bc2d3ee245573b79b206d3 (patch)
tree13e34d51217ced7053937eb57c7e12664fd881b5 /core/iputils/iputils.install
parent26bcb2409416374f6728bd9b863e4fd147adccb3 (diff)
Wed Oct 10 00:43:09 PDT 2012
Diffstat (limited to 'core/iputils/iputils.install')
-rw-r--r--core/iputils/iputils.install5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/iputils/iputils.install b/core/iputils/iputils.install
index 2481fb396..8e5159e83 100644
--- a/core/iputils/iputils.install
+++ b/core/iputils/iputils.install
@@ -1,7 +1,6 @@
post_install() {
- setcap cap_net_raw=ep usr/bin/ping
- setcap cap_net_raw=ep usr/bin/ping6
- echo " >> Traceroute is now provided by core/traceroute"
+ setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping
+ setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
}
post_upgrade() {