aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/asterisk.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-22 08:10:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-22 08:10:20 +0000
commitd04fddf1c58ad1e82939b7cdca22bb94373ccca8 (patch)
treef767a480e5cb411783c2700d0556375e6620bc7e /main/asterisk/asterisk.pre-install
parent0616de25f2b0775ce9a5956079df623479d59284 (diff)
downloadaports-d04fddf1c58ad1e82939b7cdca22bb94373ccca8.tar.bz2
aports-d04fddf1c58ad1e82939b7cdca22bb94373ccca8.tar.xz
main/asterisk: add asterisk user to dialout group
fixes #170
Diffstat (limited to 'main/asterisk/asterisk.pre-install')
-rw-r--r--main/asterisk/asterisk.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/asterisk/asterisk.pre-install b/main/asterisk/asterisk.pre-install
index f4724251f3..09985d7cdb 100644
--- a/main/asterisk/asterisk.pre-install
+++ b/main/asterisk/asterisk.pre-install
@@ -5,5 +5,8 @@ home=/var/lib/asterisk
adduser -h $home -s /bin/false -D $user 2>/dev/null
mkdir -p $home
chown $user:$user $home
+
+addgroup dialout 2>/dev/null
+addgroup $user dialout 2>/dev/null
exit 0