diff options
Diffstat (limited to 'core/iputils/iputils.install')
-rw-r--r-- | core/iputils/iputils.install | 5 |
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() { |