summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2018-01-11 19:52:13 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2018-01-11 19:52:13 +0000
commit7fe67fc4bf27084ca19f1506aee654b215dc032f (patch)
tree22a6cd2f229f85679e83d35da65164a196b36b29 /etc/rc.d
parent9a64ecb680341b1c05b1c4fa29903cd00bb728fd (diff)
Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts. discussed with and OK aja@ OK tb
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/amd4
-rw-r--r--etc/rc.d/apmd4
-rw-r--r--etc/rc.d/bgpd4
-rw-r--r--etc/rc.d/bootparamd4
-rw-r--r--etc/rc.d/cron4
-rw-r--r--etc/rc.d/dhcpd4
-rw-r--r--etc/rc.d/dhcrelay4
-rw-r--r--etc/rc.d/dhcrelay64
-rw-r--r--etc/rc.d/dvmrpd4
-rw-r--r--etc/rc.d/eigrpd4
-rw-r--r--etc/rc.d/ftpd4
-rw-r--r--etc/rc.d/ftpproxy4
-rwxr-xr-xetc/rc.d/ftpproxy64
-rw-r--r--etc/rc.d/hostapd4
-rw-r--r--etc/rc.d/hotplugd4
-rw-r--r--etc/rc.d/httpd4
-rw-r--r--etc/rc.d/identd4
-rw-r--r--etc/rc.d/ifstated4
-rw-r--r--etc/rc.d/iked4
-rw-r--r--etc/rc.d/inetd4
-rw-r--r--etc/rc.d/isakmpd4
-rw-r--r--etc/rc.d/iscsid4
-rw-r--r--etc/rc.d/ldapd4
-rw-r--r--etc/rc.d/ldattach4
-rw-r--r--etc/rc.d/ldomd4
-rw-r--r--etc/rc.d/ldpd4
-rw-r--r--etc/rc.d/lockd4
-rw-r--r--etc/rc.d/lpd4
-rw-r--r--etc/rc.d/mopd4
-rw-r--r--etc/rc.d/mountd4
-rw-r--r--etc/rc.d/mrouted4
-rw-r--r--etc/rc.d/nfsd4
-rw-r--r--etc/rc.d/npppd4
-rw-r--r--etc/rc.d/nsd4
-rw-r--r--etc/rc.d/ntpd4
-rw-r--r--etc/rc.d/ospf6d4
-rw-r--r--etc/rc.d/ospfd4
-rw-r--r--etc/rc.d/pflogd4
-rw-r--r--etc/rc.d/portmap4
-rw-r--r--etc/rc.d/radiusd4
-rw-r--r--etc/rc.d/rarpd4
-rw-r--r--etc/rc.d/rbootd4
-rw-r--r--etc/rc.d/rebound4
-rw-r--r--etc/rc.d/relayd4
-rw-r--r--etc/rc.d/ripd4
-rw-r--r--etc/rc.d/route6d4
-rw-r--r--etc/rc.d/rtadvd4
-rw-r--r--etc/rc.d/sasyncd4
-rw-r--r--etc/rc.d/sensorsd4
-rw-r--r--etc/rc.d/slaacd4
-rw-r--r--etc/rc.d/slowcgi4
-rw-r--r--etc/rc.d/smtpd4
-rw-r--r--etc/rc.d/sndiod4
-rw-r--r--etc/rc.d/snmpd4
-rw-r--r--etc/rc.d/spamd4
-rw-r--r--etc/rc.d/spamlogd4
-rw-r--r--etc/rc.d/sshd4
-rw-r--r--etc/rc.d/statd4
-rw-r--r--etc/rc.d/switchd4
-rw-r--r--etc/rc.d/syslogd4
-rw-r--r--etc/rc.d/tftpd4
-rw-r--r--etc/rc.d/tftpproxy4
-rw-r--r--etc/rc.d/unbound4
-rw-r--r--etc/rc.d/vmd4
-rw-r--r--etc/rc.d/watchdogd4
-rw-r--r--etc/rc.d/wsmoused4
-rw-r--r--etc/rc.d/xenodm4
-rw-r--r--etc/rc.d/ypbind4
-rw-r--r--etc/rc.d/ypldap4
-rw-r--r--etc/rc.d/yppasswdd4
-rw-r--r--etc/rc.d/ypserv4
71 files changed, 142 insertions, 142 deletions
diff --git a/etc/rc.d/amd b/etc/rc.d/amd
index f31c783318f..348ebcb98c0 100644
--- a/etc/rc.d/amd
+++ b/etc/rc.d/amd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: amd,v 1.7 2015/07/15 13:50:54 ajacoutot Exp $
+# $OpenBSD: amd,v 1.8 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/amd"
diff --git a/etc/rc.d/apmd b/etc/rc.d/apmd
index 455f3a10e66..ac0e479cd93 100644
--- a/etc/rc.d/apmd
+++ b/etc/rc.d/apmd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: apmd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: apmd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/apmd"
diff --git a/etc/rc.d/bgpd b/etc/rc.d/bgpd
index dd0c956caaf..3c8cdb2503e 100644
--- a/etc/rc.d/bgpd
+++ b/etc/rc.d/bgpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: bgpd,v 1.3 2016/02/07 20:56:48 sthen Exp $
+# $OpenBSD: bgpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/bgpd"
diff --git a/etc/rc.d/bootparamd b/etc/rc.d/bootparamd
index 6b527184801..c3561f47409 100644
--- a/etc/rc.d/bootparamd
+++ b/etc/rc.d/bootparamd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: bootparamd,v 1.2 2011/07/08 02:15:34 robert Exp $
+# $OpenBSD: bootparamd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rpc.bootparamd"
diff --git a/etc/rc.d/cron b/etc/rc.d/cron
index 347d7d07a90..3f09c8bf2b3 100644
--- a/etc/rc.d/cron
+++ b/etc/rc.d/cron
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: cron,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: cron,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/cron"
diff --git a/etc/rc.d/dhcpd b/etc/rc.d/dhcpd
index dec50a7f370..30a4dcd3e4d 100644
--- a/etc/rc.d/dhcpd
+++ b/etc/rc.d/dhcpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: dhcpd,v 1.2 2011/07/08 04:29:54 ajacoutot Exp $
+# $OpenBSD: dhcpd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/dhcpd"
diff --git a/etc/rc.d/dhcrelay b/etc/rc.d/dhcrelay
index d692b695fb8..eb724d76ebf 100644
--- a/etc/rc.d/dhcrelay
+++ b/etc/rc.d/dhcrelay
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: dhcrelay,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: dhcrelay,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/dhcrelay"
diff --git a/etc/rc.d/dhcrelay6 b/etc/rc.d/dhcrelay6
index 36781558716..a078e489a00 100644
--- a/etc/rc.d/dhcrelay6
+++ b/etc/rc.d/dhcrelay6
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: dhcrelay6,v 1.1 2017/03/17 17:57:40 rzalamena Exp $
+# $OpenBSD: dhcrelay6,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/dhcrelay6"
diff --git a/etc/rc.d/dvmrpd b/etc/rc.d/dvmrpd
index 88d84fd5388..84ae2810f00 100644
--- a/etc/rc.d/dvmrpd
+++ b/etc/rc.d/dvmrpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: dvmrpd,v 1.3 2016/02/07 21:00:16 sthen Exp $
+# $OpenBSD: dvmrpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/dvmrpd"
diff --git a/etc/rc.d/eigrpd b/etc/rc.d/eigrpd
index f6e71c1aafd..6562c171404 100644
--- a/etc/rc.d/eigrpd
+++ b/etc/rc.d/eigrpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: eigrpd,v 1.3 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: eigrpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/eigrpd"
diff --git a/etc/rc.d/ftpd b/etc/rc.d/ftpd
index 449bc6d9d5b..7165c6c7c4a 100644
--- a/etc/rc.d/ftpd
+++ b/etc/rc.d/ftpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ftpd,v 1.3 2011/12/21 09:26:29 ajacoutot Exp $
+# $OpenBSD: ftpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/libexec/ftpd -D"
diff --git a/etc/rc.d/ftpproxy b/etc/rc.d/ftpproxy
index 1dc8897544d..a5fdce8f25c 100644
--- a/etc/rc.d/ftpproxy
+++ b/etc/rc.d/ftpproxy
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ftpproxy,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: ftpproxy,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ftp-proxy"
diff --git a/etc/rc.d/ftpproxy6 b/etc/rc.d/ftpproxy6
index b0b1b7ed56e..21c1cc001b5 100755
--- a/etc/rc.d/ftpproxy6
+++ b/etc/rc.d/ftpproxy6
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ftpproxy6,v 1.1 2015/09/12 14:48:06 sthen Exp $
+# $OpenBSD: ftpproxy6,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ftp-proxy -6"
diff --git a/etc/rc.d/hostapd b/etc/rc.d/hostapd
index 0e4d8783617..6b1a6710d1d 100644
--- a/etc/rc.d/hostapd
+++ b/etc/rc.d/hostapd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: hostapd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: hostapd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/hostapd"
diff --git a/etc/rc.d/hotplugd b/etc/rc.d/hotplugd
index b443e13ae42..b29f05e470d 100644
--- a/etc/rc.d/hotplugd
+++ b/etc/rc.d/hotplugd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: hotplugd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: hotplugd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/hotplugd"
diff --git a/etc/rc.d/httpd b/etc/rc.d/httpd
index 3bfc63c1760..e80673156c9 100644
--- a/etc/rc.d/httpd
+++ b/etc/rc.d/httpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: httpd,v 1.5 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: httpd,v 1.6 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/httpd"
diff --git a/etc/rc.d/identd b/etc/rc.d/identd
index 20c76ebb97a..3e585f8c19b 100644
--- a/etc/rc.d/identd
+++ b/etc/rc.d/identd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: identd,v 1.7 2013/12/11 16:25:48 jca Exp $
+# $OpenBSD: identd,v 1.8 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/identd"
daemon_flags="-e"
diff --git a/etc/rc.d/ifstated b/etc/rc.d/ifstated
index e05607ddffe..1c818723ada 100644
--- a/etc/rc.d/ifstated
+++ b/etc/rc.d/ifstated
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ifstated,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: ifstated,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ifstated"
diff --git a/etc/rc.d/iked b/etc/rc.d/iked
index 42faa3a7d9f..176a3bd90b6 100644
--- a/etc/rc.d/iked
+++ b/etc/rc.d/iked
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: iked,v 1.3 2015/12/19 13:45:12 ajacoutot Exp $
+# $OpenBSD: iked,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/iked"
diff --git a/etc/rc.d/inetd b/etc/rc.d/inetd
index d13ea54f503..c89ba3bf863 100644
--- a/etc/rc.d/inetd
+++ b/etc/rc.d/inetd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: inetd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: inetd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/inetd"
diff --git a/etc/rc.d/isakmpd b/etc/rc.d/isakmpd
index 33eb2078f6e..70cf07d7721 100644
--- a/etc/rc.d/isakmpd
+++ b/etc/rc.d/isakmpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: isakmpd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: isakmpd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/isakmpd"
diff --git a/etc/rc.d/iscsid b/etc/rc.d/iscsid
index 6905f4dbc70..831cbb64e5e 100644
--- a/etc/rc.d/iscsid
+++ b/etc/rc.d/iscsid
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: iscsid,v 1.1 2014/07/13 12:07:11 claudio Exp $
+# $OpenBSD: iscsid,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/iscsid"
control="/usr/sbin/iscsictl"
diff --git a/etc/rc.d/ldapd b/etc/rc.d/ldapd
index c6b9a122d0c..774a66dd160 100644
--- a/etc/rc.d/ldapd
+++ b/etc/rc.d/ldapd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ldapd,v 1.2 2011/09/16 10:13:24 robert Exp $
+# $OpenBSD: ldapd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ldapd"
diff --git a/etc/rc.d/ldattach b/etc/rc.d/ldattach
index d12f3ff6f9c..42e2c478a94 100644
--- a/etc/rc.d/ldattach
+++ b/etc/rc.d/ldattach
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ldattach,v 1.2 2011/07/08 02:15:34 robert Exp $
+# $OpenBSD: ldattach,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/ldattach"
diff --git a/etc/rc.d/ldomd b/etc/rc.d/ldomd
index 60567b4eedc..89e8b764a62 100644
--- a/etc/rc.d/ldomd
+++ b/etc/rc.d/ldomd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ldomd,v 1.1 2012/11/04 17:12:36 kettenis Exp $
+# $OpenBSD: ldomd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ldomd"
diff --git a/etc/rc.d/ldpd b/etc/rc.d/ldpd
index b043b1c3f85..2ea41d509b4 100644
--- a/etc/rc.d/ldpd
+++ b/etc/rc.d/ldpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ldpd,v 1.2 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: ldpd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ldpd"
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd
index e43d4b168ad..d7c4c3db8d1 100644
--- a/etc/rc.d/lockd
+++ b/etc/rc.d/lockd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: lockd,v 1.1 2011/07/08 00:54:04 ajacoutot Exp $
+# $OpenBSD: lockd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rpc.lockd"
diff --git a/etc/rc.d/lpd b/etc/rc.d/lpd
index c80ec954ed2..bccd7a13d69 100644
--- a/etc/rc.d/lpd
+++ b/etc/rc.d/lpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: lpd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: lpd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/lpd"
diff --git a/etc/rc.d/mopd b/etc/rc.d/mopd
index 63327cb4130..11f03c023a1 100644
--- a/etc/rc.d/mopd
+++ b/etc/rc.d/mopd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: mopd,v 1.3 2011/09/19 20:42:24 ajacoutot Exp $
+# $OpenBSD: mopd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/mopd"
daemon_flags="-a"
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd
index 6a864c4e2d3..c18337991fc 100644
--- a/etc/rc.d/mountd
+++ b/etc/rc.d/mountd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: mountd,v 1.6 2015/12/26 09:55:15 ajacoutot Exp $
+# $OpenBSD: mountd,v 1.7 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/mountd"
diff --git a/etc/rc.d/mrouted b/etc/rc.d/mrouted
index fd31f2427b8..a7ad177a0ca 100644
--- a/etc/rc.d/mrouted
+++ b/etc/rc.d/mrouted
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: mrouted,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: mrouted,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/mrouted"
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd
index 286e61b126c..665552b8798 100644
--- a/etc/rc.d/nfsd
+++ b/etc/rc.d/nfsd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: nfsd,v 1.6 2014/08/22 08:10:38 jsg Exp $
+# $OpenBSD: nfsd,v 1.7 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/nfsd"
daemon_flags="-tun 4"
diff --git a/etc/rc.d/npppd b/etc/rc.d/npppd
index f364d314069..ea9bfeeda81 100644
--- a/etc/rc.d/npppd
+++ b/etc/rc.d/npppd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: npppd,v 1.2 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: npppd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/npppd"
diff --git a/etc/rc.d/nsd b/etc/rc.d/nsd
index f7b26ee6dbe..14261103fff 100644
--- a/etc/rc.d/nsd
+++ b/etc/rc.d/nsd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: nsd,v 1.9 2014/12/29 11:17:05 ajacoutot Exp $
+# $OpenBSD: nsd,v 1.10 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/nsd-control"
daemon_flags="-c /var/nsd/etc/nsd.conf"
diff --git a/etc/rc.d/ntpd b/etc/rc.d/ntpd
index 5b95bc1460d..8214d65f5f7 100644
--- a/etc/rc.d/ntpd
+++ b/etc/rc.d/ntpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ntpd,v 1.3 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: ntpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ntpd"
diff --git a/etc/rc.d/ospf6d b/etc/rc.d/ospf6d
index c21a881b7f9..df0dad3fc90 100644
--- a/etc/rc.d/ospf6d
+++ b/etc/rc.d/ospf6d
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ospf6d,v 1.2 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: ospf6d,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ospf6d"
diff --git a/etc/rc.d/ospfd b/etc/rc.d/ospfd
index a867d35b995..69030fc1a73 100644
--- a/etc/rc.d/ospfd
+++ b/etc/rc.d/ospfd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ospfd,v 1.2 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: ospfd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ospfd"
diff --git a/etc/rc.d/pflogd b/etc/rc.d/pflogd
index 372129540ee..963616775ae 100644
--- a/etc/rc.d/pflogd
+++ b/etc/rc.d/pflogd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: pflogd,v 1.2 2011/07/08 21:42:52 robert Exp $
+# $OpenBSD: pflogd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/pflogd"
diff --git a/etc/rc.d/portmap b/etc/rc.d/portmap
index 2bdd6359aae..e5aa4dbd6d3 100644
--- a/etc/rc.d/portmap
+++ b/etc/rc.d/portmap
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: portmap,v 1.2 2011/07/07 05:20:38 ajacoutot Exp $
+# $OpenBSD: portmap,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/portmap"
diff --git a/etc/rc.d/radiusd b/etc/rc.d/radiusd
index 769af3823fa..dfcb38e76f1 100644
--- a/etc/rc.d/radiusd
+++ b/etc/rc.d/radiusd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: radiusd,v 1.1 2015/08/03 04:19:25 yasuoka Exp $
+# $OpenBSD: radiusd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/radiusd"
diff --git a/etc/rc.d/rarpd b/etc/rc.d/rarpd
index 705eebfa2f8..779ebb451dd 100644
--- a/etc/rc.d/rarpd
+++ b/etc/rc.d/rarpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: rarpd,v 1.3 2011/09/19 20:42:24 ajacoutot Exp $
+# $OpenBSD: rarpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rarpd"
daemon_flags="-a"
diff --git a/etc/rc.d/rbootd b/etc/rc.d/rbootd
index 9135a368ecf..dde2cd25006 100644
--- a/etc/rc.d/rbootd
+++ b/etc/rc.d/rbootd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: rbootd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: rbootd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rbootd"
diff --git a/etc/rc.d/rebound b/etc/rc.d/rebound
index 6d79cca006c..9ec5ee0b496 100644
--- a/etc/rc.d/rebound
+++ b/etc/rc.d/rebound
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: rebound,v 1.1 2015/11/30 23:35:30 jturner Exp $
+# $OpenBSD: rebound,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rebound"
diff --git a/etc/rc.d/relayd b/etc/rc.d/relayd
index 883775a9d64..751484f8e3e 100644
--- a/etc/rc.d/relayd
+++ b/etc/rc.d/relayd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: relayd,v 1.3 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: relayd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/relayd"
diff --git a/etc/rc.d/ripd b/etc/rc.d/ripd
index 83ff7802319..7b5d211665b 100644
--- a/etc/rc.d/ripd
+++ b/etc/rc.d/ripd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ripd,v 1.2 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: ripd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ripd"
diff --git a/etc/rc.d/route6d b/etc/rc.d/route6d
index 1b1824b41a6..ee76e0f6681 100644
--- a/etc/rc.d/route6d
+++ b/etc/rc.d/route6d
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: route6d,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: route6d,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/route6d"
diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd
index fc0df45e589..00e5d3ae80d 100644
--- a/etc/rc.d/rtadvd
+++ b/etc/rc.d/rtadvd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: rtadvd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: rtadvd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rtadvd"
diff --git a/etc/rc.d/sasyncd b/etc/rc.d/sasyncd
index 3a12dc11077..06a219fc993 100644
--- a/etc/rc.d/sasyncd
+++ b/etc/rc.d/sasyncd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: sasyncd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: sasyncd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/sasyncd"
diff --git a/etc/rc.d/sensorsd b/etc/rc.d/sensorsd
index 9ac16e22cb6..dd1e6bb6888 100644
--- a/etc/rc.d/sensorsd
+++ b/etc/rc.d/sensorsd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: sensorsd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: sensorsd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/sensorsd"
diff --git a/etc/rc.d/slaacd b/etc/rc.d/slaacd
index fbb474930d3..d067f88318e 100644
--- a/etc/rc.d/slaacd
+++ b/etc/rc.d/slaacd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: slaacd,v 1.2 2017/06/03 10:00:29 florian Exp $
+# $OpenBSD: slaacd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/sbin/slaacd"
diff --git a/etc/rc.d/slowcgi b/etc/rc.d/slowcgi
index 9c1ba4b13ae..9f8f612a7d2 100644
--- a/etc/rc.d/slowcgi
+++ b/etc/rc.d/slowcgi
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: slowcgi,v 1.1 2013/06/01 14:06:20 naddy Exp $
+# $OpenBSD: slowcgi,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/slowcgi"
diff --git a/etc/rc.d/smtpd b/etc/rc.d/smtpd
index e8d0325f349..d7a4ae0dbfe 100644
--- a/etc/rc.d/smtpd
+++ b/etc/rc.d/smtpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: smtpd,v 1.6 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: smtpd,v 1.7 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/smtpd"
diff --git a/etc/rc.d/sndiod b/etc/rc.d/sndiod
index ca2e0d25c61..2437d4e6318 100644
--- a/etc/rc.d/sndiod
+++ b/etc/rc.d/sndiod
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: sndiod,v 1.4 2016/04/28 09:15:16 ajacoutot Exp $
+# $OpenBSD: sndiod,v 1.5 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/bin/sndiod"
diff --git a/etc/rc.d/snmpd b/etc/rc.d/snmpd
index aba68612e0d..6fe67bed2cf 100644
--- a/etc/rc.d/snmpd
+++ b/etc/rc.d/snmpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: snmpd,v 1.3 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: snmpd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/snmpd"
diff --git a/etc/rc.d/spamd b/etc/rc.d/spamd
index 873fe7b7af5..dfc06d281de 100644
--- a/etc/rc.d/spamd
+++ b/etc/rc.d/spamd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: spamd,v 1.8 2017/03/23 10:10:54 ajacoutot Exp $
+# $OpenBSD: spamd,v 1.9 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/libexec/spamd"
diff --git a/etc/rc.d/spamlogd b/etc/rc.d/spamlogd
index 8747a7f1b7b..1c24c2bf818 100644
--- a/etc/rc.d/spamlogd
+++ b/etc/rc.d/spamlogd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: spamlogd,v 1.2 2011/08/08 17:13:31 robert Exp $
+# $OpenBSD: spamlogd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/libexec/spamlogd"
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index 8ea6f579313..75ea913e570 100644
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: sshd,v 1.3 2015/07/15 13:50:54 ajacoutot Exp $
+# $OpenBSD: sshd,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/sshd"
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index 091c840d853..15887557039 100644
--- a/etc/rc.d/statd
+++ b/etc/rc.d/statd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: statd,v 1.1 2011/07/08 00:54:04 ajacoutot Exp $
+# $OpenBSD: statd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rpc.statd"
diff --git a/etc/rc.d/switchd b/etc/rc.d/switchd
index 468ec70d689..d5c60e26e49 100644
--- a/etc/rc.d/switchd
+++ b/etc/rc.d/switchd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: switchd,v 1.1 2016/10/06 20:20:41 reyk Exp $
+# $OpenBSD: switchd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/switchd"
diff --git a/etc/rc.d/syslogd b/etc/rc.d/syslogd
index 9f4e104ea08..3ac7a1fd24f 100644
--- a/etc/rc.d/syslogd
+++ b/etc/rc.d/syslogd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: syslogd,v 1.4 2014/07/18 18:20:42 deraadt Exp $
+# $OpenBSD: syslogd,v 1.5 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/syslogd"
diff --git a/etc/rc.d/tftpd b/etc/rc.d/tftpd
index a7e8947ef98..c02a5400944 100644
--- a/etc/rc.d/tftpd
+++ b/etc/rc.d/tftpd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: tftpd,v 1.2 2012/07/07 09:35:36 ajacoutot Exp $
+# $OpenBSD: tftpd,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/tftpd"
daemon_flags="/tftpboot"
diff --git a/etc/rc.d/tftpproxy b/etc/rc.d/tftpproxy
index 0b94ff56920..0419aa23fc4 100644
--- a/etc/rc.d/tftpproxy
+++ b/etc/rc.d/tftpproxy
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: tftpproxy,v 1.2 2015/07/15 13:50:54 ajacoutot Exp $
+# $OpenBSD: tftpproxy,v 1.3 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/tftp-proxy"
diff --git a/etc/rc.d/unbound b/etc/rc.d/unbound
index 378031b90e0..fd1e2e7c64b 100644
--- a/etc/rc.d/unbound
+++ b/etc/rc.d/unbound
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: unbound,v 1.3 2015/07/19 17:31:21 sthen Exp $
+# $OpenBSD: unbound,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/unbound"
daemon_flags="-c /var/unbound/etc/unbound.conf"
diff --git a/etc/rc.d/vmd b/etc/rc.d/vmd
index 4d0b0a0242a..af20c7f6385 100644
--- a/etc/rc.d/vmd
+++ b/etc/rc.d/vmd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: vmd,v 1.4 2016/02/02 17:51:11 sthen Exp $
+# $OpenBSD: vmd,v 1.5 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/vmd"
diff --git a/etc/rc.d/watchdogd b/etc/rc.d/watchdogd
index 5a4321861b4..d7693c812fe 100644
--- a/etc/rc.d/watchdogd
+++ b/etc/rc.d/watchdogd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: watchdogd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: watchdogd,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/watchdogd"
diff --git a/etc/rc.d/wsmoused b/etc/rc.d/wsmoused
index d80598adc9f..31b8375d032 100644
--- a/etc/rc.d/wsmoused
+++ b/etc/rc.d/wsmoused
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: wsmoused,v 1.1 2011/07/07 22:23:56 robert Exp $
+# $OpenBSD: wsmoused,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/wsmoused"
diff --git a/etc/rc.d/xenodm b/etc/rc.d/xenodm
index d8c85a8a32d..a79d71c53c6 100644
--- a/etc/rc.d/xenodm
+++ b/etc/rc.d/xenodm
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: xenodm,v 1.1 2017/02/26 16:51:18 matthieu Exp $
+# $OpenBSD: xenodm,v 1.2 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/X11R6/bin/xenodm"
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind
index f18aad8e618..ddb450e6212 100644
--- a/etc/rc.d/ypbind
+++ b/etc/rc.d/ypbind
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ypbind,v 1.7 2017/05/27 19:55:48 ajacoutot Exp $
+# $OpenBSD: ypbind,v 1.8 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ypbind"
diff --git a/etc/rc.d/ypldap b/etc/rc.d/ypldap
index 3dad9d1026a..9eb1afc50fd 100644
--- a/etc/rc.d/ypldap
+++ b/etc/rc.d/ypldap
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ypldap,v 1.3 2015/07/15 13:50:54 ajacoutot Exp $
+# $OpenBSD: ypldap,v 1.4 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ypldap"
diff --git a/etc/rc.d/yppasswdd b/etc/rc.d/yppasswdd
index 01d883ea9a9..5fb13ac4dfd 100644
--- a/etc/rc.d/yppasswdd
+++ b/etc/rc.d/yppasswdd
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: yppasswdd,v 1.4 2011/07/08 04:29:54 ajacoutot Exp $
+# $OpenBSD: yppasswdd,v 1.5 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/rpc.yppasswdd"
diff --git a/etc/rc.d/ypserv b/etc/rc.d/ypserv
index 162063ea4d8..ccbf31fa3df 100644
--- a/etc/rc.d/ypserv
+++ b/etc/rc.d/ypserv
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/ksh
#
-# $OpenBSD: ypserv,v 1.4 2011/10/06 06:47:50 ajacoutot Exp $
+# $OpenBSD: ypserv,v 1.5 2018/01/11 19:52:12 rpe Exp $
daemon="/usr/sbin/ypserv"