diff options
Diffstat (limited to 'unstable/freeswitch/freeswitch.install')
-rwxr-xr-x | unstable/freeswitch/freeswitch.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unstable/freeswitch/freeswitch.install b/unstable/freeswitch/freeswitch.install new file mode 100755 index 0000000000..0507fe532f --- /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 + |