summaryrefslogtreecommitdiff
path: root/pcr/asterisk/asterisk.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/asterisk/asterisk.install')
-rw-r--r--pcr/asterisk/asterisk.install15
1 files changed, 0 insertions, 15 deletions
diff --git a/pcr/asterisk/asterisk.install b/pcr/asterisk/asterisk.install
deleted file mode 100644
index b7c1a71f7..000000000
--- a/pcr/asterisk/asterisk.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- groupadd -r asterisk
- useradd -MNr -s /bin/false -d /run/asterisk -g asterisk asterisk && passwd -l asterisk &>/dev/null
-
- chown -R asterisk:asterisk /etc/asterisk
- chown -R asterisk:asterisk /var/lib/asterisk
- chown -R asterisk:asterisk /var/log/asterisk
- chown -R asterisk:asterisk /run/asterisk
- chown -R asterisk:asterisk /var/spool/asterisk
-}
-
-post_remove() {
- userdel asterisk &>/dev/null
- groupdel asterisk &>/dev/null
-}