summaryrefslogtreecommitdiff
path: root/user/nsd/nsd.pre-install
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-02-08 22:19:53 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-16 18:43:44 +0100
commitfad97d18b3b4e56c0933b61a5801b060dcf99be5 (patch)
tree3937cee15733692ce33956fc3688b1d7bab2469d /user/nsd/nsd.pre-install
parente0af0d73c2d344338bed830d56358276e4b2cb8c (diff)
downloadpackages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.gz
packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.bz2
packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.xz
packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.zip
user/nsd: New package
Diffstat (limited to 'user/nsd/nsd.pre-install')
-rwxr-xr-xuser/nsd/nsd.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/nsd/nsd.pre-install b/user/nsd/nsd.pre-install
new file mode 100755
index 000000000..b8a8bf698
--- /dev/null
+++ b/user/nsd/nsd.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+groupadd -r nsd 2>/dev/null
+useradd -M -N -g nsd -r -s /sbin/nologin -d /etc/nsd nsd 2>/dev/null
+exit 0