1 2 3 4 5 6 7
post_install() { setcap cap_net_raw+ep usr/bin/mtr-packet && chmod u-s usr/bin/mtr-packet } post_upgrade() { post_install "$1" }