summaryrefslogtreecommitdiff
path: root/user/unbound/unbound.pre-install
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-01-29 10:11:57 +0100
committerLuis Ressel <aranea@aixah.de>2019-01-29 13:46:09 +0100
commit5665ae7639f810569fd229749371f8ec8bb1eb4c (patch)
treea7e5b0830430681181d2b72d65cf1d291c3422bc /user/unbound/unbound.pre-install
parent38abc8ab60bb141792bfca8c4df7a899e3810acb (diff)
downloadpackages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.gz
packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.bz2
packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.xz
packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.zip
user/unbound: New package
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