aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freeswitch/freeswitch.install
blob: 0507fe532f8062bf4f8f6c362d61115b32f96945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

case "$1" in
	pre_install)
		adduser -h /dev/null -s /bin/false -D freeswitch 2>/dev/null
		;;
	post_install)
		chown -R freeswitch:freeswitch /etc/freeswitch/	
		;;
	post_deinstall)
		deluser freeswitch
		delgroup freeswitch
		;;
esac