diff options
Diffstat (limited to 'libre-testing/iputils/iputils.install')
-rw-r--r-- | libre-testing/iputils/iputils.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libre-testing/iputils/iputils.install b/libre-testing/iputils/iputils.install new file mode 100644 index 000000000..1684c2e72 --- /dev/null +++ b/libre-testing/iputils/iputils.install @@ -0,0 +1,9 @@ +post_install() { + setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping +} + +post_upgrade() { + post_install "$1" +} + +# vim:set ts=2 sw=2 et: |