diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-08-22 14:01:38 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-08-22 14:01:38 -0300 |
commit | 236a7904452e148aa050e374bfe4dee41cb1974e (patch) | |
tree | f3bdbed3a30deca9131465e0bfce0e55f66bfb90 /social/asterisk/asterisk.install | |
parent | 9947b58ec4c681e62db65ccd8a8b0aaee581437d (diff) |
Asterisk upgraded and moved to [pcr]
Diffstat (limited to 'social/asterisk/asterisk.install')
-rw-r--r-- | social/asterisk/asterisk.install | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/social/asterisk/asterisk.install b/social/asterisk/asterisk.install deleted file mode 100644 index 1a3b998b7..000000000 --- a/social/asterisk/asterisk.install +++ /dev/null @@ -1,38 +0,0 @@ -post_install() { - echo -n "adding asterisk system group... " - groupadd -g 5060 asterisk && echo "done." - echo -n "adding asterisk system user... " - useradd -c "Asterisk daemon" -u 5060 -d /var/lib/asterisk -g asterisk -s /bin/false asterisk \ - && echo "done." - passwd -l asterisk &>/dev/null - chown -R asterisk:asterisk /var/run/asterisk - chown -R asterisk:asterisk /var/log/asterisk - chown -R asterisk:asterisk /var/spool/asterisk - chown -R asterisk:asterisk /var/lib/asterisk - -cat << EOF ->>> ->>> To get Music on Hold working do pacman -S mpg123 ->>> To get the postgresql, unixodbc or sqlite2 modules working ->>> download the respective package and modify modules.conf to reflect ->>> your changes. ->>> -EOF - -} - -post_upgrade() { - if grep asterisk /etc/passwd &>/dev/null; then - /bin/true - else - post_install $1 - fi -} - -post_remove() { - echo -n -e "\nremoving asterisk system user... " - userdel asterisk && echo "done." -} -op=$1 -shift -$op $* |