aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/kamailio.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-09 15:39:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-09 15:40:03 +0000
commitce2afd0457d06be735c71ac8c51fe65afc293144 (patch)
tree880bfc280af49055e44628a62cc44cf40a7802bd /main/kamailio/kamailio.pre-install
parent2b1f2c790f0250674c1a7de488040e6c1adc48ce (diff)
downloadaports-ce2afd0457d06be735c71ac8c51fe65afc293144.tar.bz2
aports-ce2afd0457d06be735c71ac8c51fe65afc293144.tar.xz
main/kamailio: force creation of kamailio group
Diffstat (limited to 'main/kamailio/kamailio.pre-install')
-rw-r--r--main/kamailio/kamailio.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/kamailio/kamailio.pre-install b/main/kamailio/kamailio.pre-install
index 86d84acc8a..f0ed06b7fa 100644
--- a/main/kamailio/kamailio.pre-install
+++ b/main/kamailio/kamailio.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
-adduser -h /var/run/kamailio -s /bin/false -S -D -H kamailio 2>/dev/null
+addgroup kamailio 2>/dev/null
+adduser -G kamailio -h /var/run/kamailio -s /bin/false -S -D -H kamailio 2>/dev/null
exit 0