summaryrefslogtreecommitdiff
path: root/user/strongswan/strongswan.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-10-01 01:49:42 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-10-01 01:49:42 +0000
commit1cda81aa18e3e257f903d33d7a51bd9b81868db6 (patch)
treec8ef96df52377f9341665890fbee4550145fa22e /user/strongswan/strongswan.pre-install
parent9d2575759e27dfb59bd4bb52e6550d0db3e22433 (diff)
parentaa32872d191a1b0704758ed0114b0e670e5eb8be (diff)
downloadpackages-1cda81aa18e3e257f903d33d7a51bd9b81868db6.tar.gz
packages-1cda81aa18e3e257f903d33d7a51bd9b81868db6.tar.bz2
packages-1cda81aa18e3e257f903d33d7a51bd9b81868db6.tar.xz
packages-1cda81aa18e3e257f903d33d7a51bd9b81868db6.zip
Merge branch 'user/strongswan/1' into 'master'
user/strongswan: import from Alpine Imported from Alpine. This package excludes the printf test suite because it was segfaulting. However, that test suite only tests the libc implementations of vsnprintf. All other tests pass. See merge request !69
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