summarylogtreecommitdiffstats
path: root/galaxy42-git.install
blob: 57247bd798ccca9f9d6994a1a5d1955216332797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
	groupadd galaxy42
	chown root:galaxy42 usr/bin/tunserver.elf
	echo 'If you want to use tunserver.elf without sudo add yourself to galaxy42 group and run:'
	echo 'sudo setcap cap_net_admin+ep /usr/bin/tunserver.elf'
}
post_upgrade() {
	chown root:galaxy42 usr/bin/tunserver.elf
	echo 'If you want to use tunserver.elf without sudo add yourself to galaxy42 group and run:'
	echo 'sudo setcap cap_net_admin+ep /usr/bin/tunserver.elf'
}
post_remove() {
	groupdel galaxy42
}