diff options
Diffstat (limited to 'testing/asterisk/asterisk.pre-upgrade')
-rw-r--r-- | testing/asterisk/asterisk.pre-upgrade | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk.pre-upgrade b/testing/asterisk/asterisk.pre-upgrade new file mode 100644 index 00000000..09985d7c --- /dev/null +++ b/testing/asterisk/asterisk.pre-upgrade @@ -0,0 +1,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 + |