diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:41 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:56:47 +0000 |
commit | da4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch) | |
tree | 6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /main/opensmtpd | |
parent | 8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff) | |
download | aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.bz2 aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.xz |
Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
Diffstat (limited to 'main/opensmtpd')
-rw-r--r-- | main/opensmtpd/opensmtpd.pre-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/opensmtpd/opensmtpd.pre-install b/main/opensmtpd/opensmtpd.pre-install index 8cbebc19a0..b81ac7534b 100644 --- a/main/opensmtpd/opensmtpd.pre-install +++ b/main/opensmtpd/opensmtpd.pre-install @@ -2,8 +2,8 @@ addgroup -S smtpd 2>/dev/null addgroup -S smtpq 2>/dev/null -adduser -S -H -D -s /sbin/nologin -h /dev/null -g 'SMTP Daemon' -G smtpd smtpd 2>/dev/null -adduser -S -H -D -s /sbin/nologin -h /dev/null -g 'SMTPD Queue' -G smtpq smtpq 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpd -g 'SMTP Daemon' smtpd 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpq -g 'SMTPD Queue' smtpq 2>/dev/null mkdir -p /var/spool/mail exit 0 |