summaryrefslogtreecommitdiff
path: root/user/nsd/nsd.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-19 18:11:38 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-19 18:11:38 +0000
commitd3ef40a7cc0140532e5a90ed3f94a7bd9f5caa8b (patch)
tree2cc06ced4f3026b351ca1da6e5453de43b0913a5 /user/nsd/nsd.pre-install
parentde3a1692418779d6a0f4e00cf90f3f72ca9113f0 (diff)
parentfad97d18b3b4e56c0933b61a5801b060dcf99be5 (diff)
downloadpackages-d3ef40a7cc0140532e5a90ed3f94a7bd9f5caa8b.tar.gz
packages-d3ef40a7cc0140532e5a90ed3f94a7bd9f5caa8b.tar.bz2
packages-d3ef40a7cc0140532e5a90ed3f94a7bd9f5caa8b.tar.xz
packages-d3ef40a7cc0140532e5a90ed3f94a7bd9f5caa8b.zip
Merge branch 'nsd' into 'master'
user/nsd: New package See merge request !167
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