Module Name: src
Committed By: christos
Date: Sat Jan 7 19:55:35 UTC 2017
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
add nsd
To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.207 src/usr.sbin/postinstall/postinstall:1.208
--- src/usr.sbin/postinstall/postinstall:1.207 Mon Jan 2 19:35:07 2017
+++ src/usr.sbin/postinstall/postinstall Sat Jan 7 14:55:35 2017
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.207 2017/01/03 00:35:07 jnemeth Exp $
+# $NetBSD: postinstall,v 1.208 2017/01/07 19:55:35 christos Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1046,7 +1046,7 @@ do_gid()
"${SRC_DIR}/etc/group" 14 \
named ntpd sshd SKIP _pflogd _rwhod staff _proxy _timedc \
_sdpd _httpd _mdnsd _tests _tcpdump _tss _gpio _rtadvd SKIP \
- _unbound
+ _unbound _nsd
}
#
@@ -1531,6 +1531,10 @@ do_rc()
"${SRC_DIR}/external/bsd/unbound/etc/rc.d"
failed=$(( ${failed} + $? ))
+ update_rc "${op}" "${dir}" nsd \
+ "${SRC_DIR}/external/bsd/nsd/etc/rc.d"
+ failed=$(( ${failed} + $? ))
+
if $SOURCEMODE && [ -n "${generated_scripts}" ]; then
# generate scripts
mkdir "${SCRATCHDIR}/rc"
@@ -1879,7 +1883,7 @@ do_uid()
"${SRC_DIR}/etc/master.passwd" 12 \
postfix SKIP named ntpd sshd SKIP _pflogd _rwhod SKIP _proxy \
_timedc _sdpd _httpd _mdnsd _tests _tcpdump _tss SKIP _rtadvd \
- SKIP _unbound
+ SKIP _unbound _nsd
}