summaryrefslogtreecommitdiff
path: root/user/openvpn/openvpn.pre-install
diff options
context:
space:
mode:
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