Browse Source

start nsd(8); ok deraadt

OPENBSD_4_9
jakob 14 years ago
parent
commit
626b2965bc
2 changed files with 11 additions and 2 deletions
  1. +9
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 9
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.341 2010/09/06 17:10:19 naddy Exp $
# $OpenBSD: rc,v 1.342 2010/10/01 20:51:32 jakob Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -340,6 +340,10 @@ if [ X"${named_flags}" != X"NO" ]; then
rm -f /var/named/dev/log
syslogd_flags="${syslogd_flags} -a /var/named/dev/log"
fi
if [ X"${nsd_flags}" != X"NO" ]; then
rm -f /var/nsd/dev/log
syslogd_flags="${syslogd_flags} -a /var/nsd/dev/log"
fi
if [ -d /var/empty ]; then
rm -f /var/empty/dev/log
mkdir -p -m 0555 /var/empty/dev
@ -371,6 +375,10 @@ if [ X"${named_flags}" != X"NO" ]; then
echo 'starting named'; named $named_flags
fi
if [ X"${nsd_flags}" != X"NO" ]; then
echo 'starting nsd'; nsd $nsd_flags
fi
if [ ! -f /etc/isakmpd/private/local.key ]; then
echo -n "openssl: generating new isakmpd/iked RSA key... "
if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.139 2010/07/29 13:55:48 jmc Exp $
# $OpenBSD: rc.conf,v 1.140 2010/10/01 20:51:32 jakob Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
@ -16,6 +16,7 @@ bootparamd_flags=NO # for normal use: ""
rbootd_flags=NO # for normal use: ""
sshd_flags="" # for normal use: ""
named_flags=NO # for normal use: ""
nsd_flags=NO # for normal use: ""
rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC2030-host]
timed_flags=NO # for normal use: ""
ldattach_flags=NO # for normal use: "[options] linedisc cua-device"


Loading…
Cancel
Save