diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-06 18:55:37 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-06 18:55:37 +0000 |
commit | 051efd2013144227b104e47c08bdc09c2e1508d8 (patch) | |
tree | bf1ba0f515d3bcea1c9fe050ab655a625d3e12d7 /etc/Makefile | |
parent | a7a68c90254263498131236819cdb7e7740c05a1 (diff) |
Add rc.d(8) script for the system daemons that are restartable.
From now on rc(8) is going to call these scripts to start them up on boot
in the same order than before.
In addition the inetd and rwhod variables in rc.conf are deprecated so that
inetd_flags and rwhod_flags should be used. The old flags are still going
to be used for some time to allow users to switch.
There are more rc modifications to come later so let's put this in so
we can base more work on this.
It is important to mention that you can still keep using rc.local just
like the way you did before, and we have no intention to remove that either.
I'd also like to thank ajacoutot@, halex@, sthen@ and schwarze@ for working
on this with me.
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index e4d5e738daf..17fd40c958f 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.296 2011/07/06 18:32:58 miod Exp $ +# $OpenBSD: Makefile,v 1.297 2011/07/06 18:55:36 robert Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -30,6 +30,13 @@ BIN1+= wsconsctl.conf # -rw-rw-r-- BIN2= motd +# -r-xr-xr-x +RCDAEMONS= apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd ftpd ftpproxy \ + hostapd hotplugd httpd identd ifstated iked inetd isakmpd ldapd \ + ldattach ldpd lpd mopd mrouted named nsd ntpd rarpd rbootd relayd \ + ripd route6d rtadvd rtsold rwhod sasyncd sendmail sensorsd smtpd \ + snmpd sshd syslogd timed watchdogd + MISETS= base${OSrev}.tgz comp${OSrev}.tgz \ man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz @@ -249,6 +256,8 @@ distribution-etc-root-var: distrib-dirs ${DESTDIR}/etc/sudoers cd rc.d; \ ${INSTALL} -c -o root -g wheel -m 644 rc.subr \ + ${DESTDIR}/etc/rc.d && \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${RCDAEMONS} \ ${DESTDIR}/etc/rc.d distribution: |