summaryrefslogtreecommitdiff
path: root/user/unbound/unbound.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-16 14:15:13 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-16 14:15:13 +0000
commitfb03e5c884b0b17ed5221567e2864d40677a3806 (patch)
tree58f2a34c53adc701a02ef47a781880dc01f5e41e /user/unbound/unbound.pre-install
parent7c045a52b7ca6e19bb638eb3e4293bdd1716126c (diff)
parent5665ae7639f810569fd229749371f8ec8bb1eb4c (diff)
downloadpackages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.gz
packages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.bz2
packages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.xz
packages-fb03e5c884b0b17ed5221567e2864d40677a3806.zip
Merge branch 'unbound' into 'master'
user/unbound: New package See merge request !162
Diffstat (limited to 'user/unbound/unbound.pre-install')
-rwxr-xr-xuser/unbound/unbound.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/unbound/unbound.pre-install b/user/unbound/unbound.pre-install
new file mode 100755
index 000000000..9f203cb08
--- /dev/null
+++ b/user/unbound/unbound.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+groupadd -r unbound 2>/dev/null
+useradd -M -N -g unbound -r -s /sbin/nologin -d /etc/unbound unbound 2>/dev/null
+exit 0