summaryrefslogtreecommitdiff
path: root/user/bind/bind.pre-install
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-07-06 00:13:54 -0700
committerDan Theisen <djt@hxx.in>2018-07-06 02:34:42 -0700
commitdf1a5e501763e44127dc660b01fd036de5b94112 (patch)
tree1a52ba11a2f6872c17f25dea1fc6265538eb0f43 /user/bind/bind.pre-install
parent5b7b4d541766dcaa27db11fc82a5114790828deb (diff)
downloadpackages-df1a5e501763e44127dc660b01fd036de5b94112.tar.gz
packages-df1a5e501763e44127dc660b01fd036de5b94112.tar.bz2
packages-df1a5e501763e44127dc660b01fd036de5b94112.tar.xz
packages-df1a5e501763e44127dc660b01fd036de5b94112.zip
user/bind: import, take, clean up, update root zone
Diffstat (limited to 'user/bind/bind.pre-install')
-rw-r--r--user/bind/bind.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/bind/bind.pre-install b/user/bind/bind.pre-install
new file mode 100644
index 000000000..3f7c36847
--- /dev/null
+++ b/user/bind/bind.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S named 2>/dev/null
+adduser -S -D -H -h /etc/bind -s /sbin/nologin -G named -g named named 2>/dev/null
+
+exit 0