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