summaryrefslogtreecommitdiff
path: root/user/strongswan/strongswan.pre-install
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2018-09-09 06:18:33 +0000
committerLee Starnes <lee@canned-death.us>2018-09-29 22:52:48 +0000
commitaa32872d191a1b0704758ed0114b0e670e5eb8be (patch)
tree9117749e09b1fd243daaad01e5f65bd4bddc7f89 /user/strongswan/strongswan.pre-install
parent280958f5eafe6114bf9c6ecf44fca5d910049869 (diff)
downloadpackages-aa32872d191a1b0704758ed0114b0e670e5eb8be.tar.gz
packages-aa32872d191a1b0704758ed0114b0e670e5eb8be.tar.bz2
packages-aa32872d191a1b0704758ed0114b0e670e5eb8be.tar.xz
packages-aa32872d191a1b0704758ed0114b0e670e5eb8be.zip
user/strongswan: import from alpine
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