1 2 3 4 5 6 7 8 9 10 11 12 13
post_upgrade() { setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/minisatip } post_install() { post_upgrade } post_remove() { getent passwd minisatip &>/dev/null && userdel minisatip >/dev/null getent group minisatip &>/dev/null && groupdel minisatip >/dev/null return 0 }