summaryrefslogtreecommitdiff
path: root/user/mistserver/mistserver.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/mistserver/mistserver.pre-install')
-rw-r--r--user/mistserver/mistserver.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/mistserver/mistserver.pre-install b/user/mistserver/mistserver.pre-install
new file mode 100644
index 000000000..9ef5b5f2e
--- /dev/null
+++ b/user/mistserver/mistserver.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+groupadd -r mistserver 2>/dev/null
+useradd -c mistserver -s /sbin/nologin -g mistserver \
+ -m -r mistserver 2>/dev/null
+
+exit 0