Browse Source

Stop generating keys for nsd-control(8). These are unused since nsd was

switched to using a local control socket by default.
OK florian@ sthen@
OPENBSD_6_6
tim 5 years ago
parent
commit
cd38a89a73
1 changed files with 1 additions and 10 deletions
  1. +1
    -10
      src/etc/rc.d/nsd

+ 1
- 10
src/etc/rc.d/nsd View File

@ -1,6 +1,6 @@
#!/bin/ksh
#
# $OpenBSD: nsd,v 1.10 2018/01/11 19:52:12 rpe Exp $
# $OpenBSD: nsd,v 1.11 2019/05/12 18:52:43 tim Exp $
daemon="/usr/sbin/nsd-control"
daemon_flags="-c /var/nsd/etc/nsd.conf"
@ -9,15 +9,6 @@ daemon_flags="-c /var/nsd/etc/nsd.conf"
rc_usercheck=NO
rc_pre() {
if ! [[ -f /var/nsd/etc/nsd_server.key ||
-f /var/nsd/etc/nsd_server.pem ||
-f /var/nsd/etc/nsd_control.key ||
-f /var/nsd/etc/nsd_control.pem ]]; then
/usr/sbin/nsd-control-setup >/dev/null 2>&1
fi
}
rc_start() {
${rcexec} "${daemon} ${daemon_flags} start"
}


Loading…
Cancel
Save