aboutsummaryrefslogtreecommitdiffstats
path: root/main/openvpn/openvpn.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/openvpn/openvpn.pre-install')
-rw-r--r--main/openvpn/openvpn.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/openvpn/openvpn.pre-install b/main/openvpn/openvpn.pre-install
new file mode 100644
index 0000000000..e9c6a0d1ef
--- /dev/null
+++ b/main/openvpn/openvpn.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S openvpn 2>/dev/null
+adduser -S -H -h /dev/null -s /bin/false -D -G openvpn openvpn 2>/dev/null
+exit 0