summaryrefslogtreecommitdiff
path: root/user/openvpn/openvpn.pre-install
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2018-09-08 01:30:48 +0000
committerLee Starnes <lee@canned-death.us>2018-09-08 01:30:48 +0000
commit3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa (patch)
tree88f8936a8bb8ffa73a434c7a7ec60eb307750b2d /user/openvpn/openvpn.pre-install
parent15152598729dfaa1d6535b564f343c5d6785c01a (diff)
downloadpackages-3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa.tar.gz
packages-3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa.tar.bz2
packages-3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa.tar.xz
packages-3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa.zip
user/openvpn: pull in
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