From a593d306c92f8bc15a1797c0a2ccfa784edbc4a0 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Sat, 23 Apr 2016 13:13:38 +0200 Subject: Add -g option (GECOS/comment) to adduser in scripts. This way we can avoid ugly default: Linux user,,, --- main/asterisk/asterisk.pre-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/asterisk/asterisk.pre-upgrade') diff --git a/main/asterisk/asterisk.pre-upgrade b/main/asterisk/asterisk.pre-upgrade index 6c2984ae4e..781d5d8878 100644 --- a/main/asterisk/asterisk.pre-upgrade +++ b/main/asterisk/asterisk.pre-upgrade @@ -1,6 +1,6 @@ #!/bin/sh -adduser -S -h /var/lib/asterisk -s /bin/false -D asterisk 2>/dev/null +adduser -S -h /var/lib/asterisk -s /bin/false -D -g asterisk asterisk 2>/dev/null addgroup -S dialout 2>/dev/null addgroup asterisk dialout 2>/dev/null exit 0 -- cgit v1.2.3