1 2 3 4 5 6 7 8
post_install() { setcap cap_sys_nice,cap_net_admin,cap_net_raw+ep usr/bin/tmesh chmod u-s usr/bin/tmesh } post_upgrade() { post_install "$1" }