aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freeswitch/freeswitch.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/freeswitch/freeswitch.install')
-rwxr-xr-xtesting/freeswitch/freeswitch.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/freeswitch/freeswitch.install b/testing/freeswitch/freeswitch.install
new file mode 100755
index 00000000000..0507fe532f8
--- /dev/null
+++ b/testing/freeswitch/freeswitch.install
@@ -0,0 +1,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
+