diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:38 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:54:18 +0000 |
commit | a593d306c92f8bc15a1797c0a2ccfa784edbc4a0 (patch) | |
tree | e4ea45498386fd0c74f7a6a10422836df56932af /main/strongswan | |
parent | ccc056dbf9d3fdeef2a8e8abc00f9d2cddc5348e (diff) | |
download | aports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.bz2 aports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.xz |
Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:
Linux user,,,
Diffstat (limited to 'main/strongswan')
-rw-r--r-- | main/strongswan/strongswan.pre-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/strongswan/strongswan.pre-install b/main/strongswan/strongswan.pre-install index e1fa31974..12371d119 100644 --- a/main/strongswan/strongswan.pre-install +++ b/main/strongswan/strongswan.pre-install @@ -4,7 +4,7 @@ if ! getent group ipsec >/dev/null; then addgroup -S ipsec fi if ! getent passwd ipsec >/dev/null; then - adduser -S -H -h /var/empty -s /sbin/nologin -D -G ipsec ipsec 2>/dev/null + adduser -S -H -h /var/empty -s /sbin/nologin -D -G ipsec -g ipsec ipsec 2>/dev/null fi exit 0 |