From cd38a89a73673ad3d073618262a4bb7e622b8c5b Mon Sep 17 00:00:00 2001 From: tim <> Date: Sun, 12 May 2019 18:52:43 +0000 Subject: [PATCH] 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@ --- src/etc/rc.d/nsd | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/etc/rc.d/nsd b/src/etc/rc.d/nsd index 14261103..70c705e3 100644 --- a/src/etc/rc.d/nsd +++ b/src/etc/rc.d/nsd @@ -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" }