diff options
Diffstat (limited to 'main/asterisk/asterisk.pre-upgrade')
-rw-r--r--[l---------] | main/asterisk/asterisk.pre-upgrade | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/asterisk/asterisk.pre-upgrade b/main/asterisk/asterisk.pre-upgrade index 1765e9ca55..6c2984ae4e 120000..100644 --- a/main/asterisk/asterisk.pre-upgrade +++ b/main/asterisk/asterisk.pre-upgrade @@ -1 +1,6 @@ -asterisk.pre-install
\ No newline at end of file +#!/bin/sh + +adduser -S -h /var/lib/asterisk -s /bin/false -D asterisk 2>/dev/null +addgroup -S dialout 2>/dev/null +addgroup asterisk dialout 2>/dev/null +exit 0 |