1 2 3 4 5 6
post_install() { setcap cap_net_raw,cap_net_admin=eip /usr/bin/dosbox-x } post_upgrade() { setcap cap_net_raw,cap_net_admin=eip /usr/bin/dosbox-x }