aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asterisk/asterisk.pre-upgrade
blob: 09985d7cdb6c3ed63b62831d14ae3239613e7a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

user=asterisk
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