1 2 3 4 5 6 7
post_install() { setcap cap_net_raw,cap_net_admin+ep usr/bin/udp2raw 2>/dev/null } post_upgrade() { post_install "$1" }