summarylogtreecommitdiffstats
path: root/minisatip.install
blob: c03f7006bf4ef0ed3ac1a6ebe01e4367c12f87c2 (plain)
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
}