diff options
Diffstat (limited to 'main/strongswan/strongswan.pre-install')
-rw-r--r-- | main/strongswan/strongswan.pre-install | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/main/strongswan/strongswan.pre-install b/main/strongswan/strongswan.pre-install index 12371d1196..83b93284a1 100644 --- a/main/strongswan/strongswan.pre-install +++ b/main/strongswan/strongswan.pre-install @@ -1,10 +1,6 @@ #!/bin/sh -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 -g ipsec ipsec 2>/dev/null -fi +addgroup -S ipsec 2>/dev/null +adduser -S -H -h /var/empty -s /sbin/nologin -D -G ipsec -g ipsec ipsec 2>/dev/null exit 0 |