summaryrefslogtreecommitdiff
path: root/user/openvpn/openvpn.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-09-09 02:51:33 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-09-09 02:51:33 +0000
commit00c6813ddc64d0a3d0a5cab119f91c58317217e5 (patch)
tree0f729b8e939a5e56df46665eac2bdb28d302e66e /user/openvpn/openvpn.pre-install
parentd79900b0d3cb63401768ec787f39234f29dc67be (diff)
parent7e6bb9bcded19718f013101a9502093712900f85 (diff)
downloadpackages-00c6813ddc64d0a3d0a5cab119f91c58317217e5.tar.gz
packages-00c6813ddc64d0a3d0a5cab119f91c58317217e5.tar.bz2
packages-00c6813ddc64d0a3d0a5cab119f91c58317217e5.tar.xz
packages-00c6813ddc64d0a3d0a5cab119f91c58317217e5.zip
Merge branch 'user/openvpn/1' into 'master'
user/openvpn: pull in Imported from Alpine. This is my first attempt at porting an Alpine package! See merge request !52
Diffstat (limited to 'user/openvpn/openvpn.pre-install')
-rw-r--r--user/openvpn/openvpn.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/openvpn/openvpn.pre-install b/user/openvpn/openvpn.pre-install
new file mode 100644
index 000000000..c07253531
--- /dev/null
+++ b/user/openvpn/openvpn.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S openvpn 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G openvpn -g openvpn openvpn 2>/dev/null
+
+exit 0