summaryrefslogtreecommitdiff
path: root/community/liboping/install
diff options
context:
space:
mode:
Diffstat (limited to 'community/liboping/install')
-rw-r--r--community/liboping/install8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/liboping/install b/community/liboping/install
new file mode 100644
index 000000000..04cdb38f8
--- /dev/null
+++ b/community/liboping/install
@@ -0,0 +1,8 @@
+post_upgrade() {
+ setcap cap_net_raw=ep usr/bin/oping
+ setcap cap_net_raw=ep usr/bin/noping
+}
+
+post_install() {
+ post_upgrade
+}