aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asterisk/asterisk.pre-install
blob: f4724251f38b477fc0c878c0a8cfe1750de45935 (plain)
1
2
3
4
5
6
7
8
9
#!/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
exit 0