summaryrefslogtreecommitdiff
path: root/user/strongswan/strongswan.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/strongswan/strongswan.pre-install')
-rw-r--r--user/strongswan/strongswan.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/strongswan/strongswan.pre-install b/user/strongswan/strongswan.pre-install
new file mode 100644
index 000000000..da43ede66
--- /dev/null
+++ b/user/strongswan/strongswan.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S ipsec 2>/dev/null
+adduser -S -D -H -h /var/empty -s /sbin/nologin -G ipsec -g ipsec ipsec 2>/dev/null
+
+exit 0