summaryrefslogtreecommitdiffstats
path: root/abs/core/iputils/iputils.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/iputils/iputils.install')
-rw-r--r--abs/core/iputils/iputils.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/iputils/iputils.install b/abs/core/iputils/iputils.install
new file mode 100644
index 0000000..2481fb3
--- /dev/null
+++ b/abs/core/iputils/iputils.install
@@ -0,0 +1,11 @@
+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"
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et: