summaryrefslogtreecommitdiff
path: root/community/nsd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
commit7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch)
tree5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/nsd
parent46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff)
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/nsd')
-rw-r--r--community/nsd/nsd.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/nsd/nsd.install b/community/nsd/nsd.install
deleted file mode 100644
index 274ce0beb..000000000
--- a/community/nsd/nsd.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install () {
- getent group nsd &>/dev/null || groupadd -r nsd >/dev/null
- getent passwd nsd &>/dev/null || useradd -r -g nsd -d /dev/null -s /bin/false -c nsd nsd >/dev/null
- chown nsd:nsd /var/db/nsd
- chmod 700 /var/db/nsd
- install -o nsd -d /var/run/nsd
- cat <<EOF
-==> First write a /etc/nsd/nsd.conf (see /etc/nsd/nsd.conf.sample)
-==> Next, start with: /etc/rc.d/nsd rebuild; /etc/rc.d/nsd start
-EOF
-}
-
-pre_remove() {
- /etc/rc.d/nsd stop
-}
-
-post_remove() {
- getent passwd nsd &>/dev/null && userdel nsd >/dev/null
- getent group nsd &>/dev/null && groupdel nsd >/dev/null
-}