1 2 3 4 5 6 7 8
post_install() { setcap cap_net_raw+ep /usr/local/bin/pingnoo/Pingnoo /usr/sbin/ldconfig } post_remove() { /usr/sbin/ldconfig }