NetBSD/etc/rc.d
lukem e3e168f629 if $ntpd_chrootdir != "", ensure that the following files, devices,
and links exist:
        ${ntpd_chrootdir}/dev/clockctl
        /var/db/ntp.drift -> ${ntpd_chrootdir}/var/db/ntp.drift
and then start ntpd with the appropriate options to run chroot(2)ed
under $ntpd_chrootdir as user ntpd group ntpd.

to take advantage of this, set ntpd_chrootdir in /etc/rc.conf.

[this is based on similar work i did for rc.d/named]
2002-01-18 10:51:30 +00:00
..
accounting kre notes that "echo -n" is superfluous when creating a zero length file 2001-04-29 23:57:25 +00:00
altqd Add a startup script for altqd(8). 2001-04-05 23:54:59 +00:00
amd Complain if $amd_master is set. This variable was used in 1.5 and prior 2001-06-17 01:05:40 +00:00
apmd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
bootconf.sh Avoid extra command invocation as possible, and use smart variable 2000-10-09 05:30:17 +00:00
bootparams - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ccd
cleartmp - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
cron - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
DAEMON s/dependancy/dependency/. require NETWORK and SERVERS instead of network 2001-04-19 16:18:27 +00:00
dhclient - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
dhcpd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
dhcrelay - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
dmesg wrap file creation operation in: ( umask 022 ; <command...> ) 2001-04-25 23:23:37 +00:00
downinterfaces Make this work without parameters (i.e. manual invocation) 2001-09-04 20:40:40 +00:00
fsck Now that "fsck -p" skips file systems that are mounted read-write, 2001-06-18 06:42:35 +00:00
ifwatchd Add rc.d support for ifwatchd (used to run ip-up/ip-down scripts for 2001-12-10 16:53:06 +00:00
inetd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ipfilter support `resync' (ipf -y). 2001-02-28 17:03:50 +00:00
ipmon Start "ipmon" with option "D" for daemon mode instead of starting it 2001-07-05 05:26:57 +00:00
ipnat - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ipsec - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
isdnd minor cleanup. add note to why syslogd is here (a la note in ppp) 2001-04-26 03:54:38 +00:00
kdc The KDC requires only the network. Anyone running a KDC with 2001-01-18 02:00:02 +00:00
ldconfig store path to ldconfig in a variable and reference that 2001-04-25 13:00:17 +00:00
lkm1 Use && and || for logical concatenations instead of -a/-o test operators. 2000-10-09 06:11:38 +00:00
lkm2 - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
lkm3 - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
local support running /etc/rc.shutdown.local 2000-08-21 23:33:06 +00:00
LOGIN s/dependancy/dependency/. explicitly require DAEMON 2001-04-19 16:00:29 +00:00
lpd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
Makefile - set NOPROG before .include <bsd.own.mk> 2001-12-12 12:19:09 +00:00
mopd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
motd wrap file creation operation in: ( umask 022 ; <command...> ) 2001-04-25 23:23:37 +00:00
mountall
mountcritlocal clarify purposes 2001-02-28 17:19:42 +00:00
mountcritremote clarify purposes 2001-02-28 17:19:42 +00:00
mountd change mountd to use its own $mountd variable (instead of $nfs_server). 2001-06-16 06:13:09 +00:00
moused Add moused, default off. 2001-10-29 23:25:00 +00:00
mrouted - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
named if named_chrootdir is set, always repoint the /var/run/named.pid and 2001-10-11 07:10:08 +00:00
ndbootd sunndd has been renamed to ndbootd. 2001-05-22 14:51:37 +00:00
network seperate -> separate 2001-07-22 13:33:58 +00:00
NETWORK s/dependancy/dependency/ 2001-04-19 15:56:32 +00:00
newsyslog Make newsyslog at boot optional, as it should have been. 2001-08-18 19:50:19 +00:00
nfsd change mountd to use its own $mountd variable (instead of $nfs_server). 2001-06-16 06:13:09 +00:00
nfslocking - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ntpd if $ntpd_chrootdir != "", ensure that the following files, devices, 2002-01-18 10:51:30 +00:00
ntpdate - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
poffd Add /etc/rc.d/poffd, for x68k power management deamon. 2001-01-14 15:37:22 +00:00
postfix - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ppp Add "hup" and "stop" commands. Closes PR bin/12135. 2001-02-11 00:51:35 +00:00
pwcheck * add new dummy dependancy `NETWORK' to be REQUIREd by services which need 2000-07-26 00:11:48 +00:00
quota
racoon depend upon isdnd as well 2001-04-26 03:55:16 +00:00
raidframe start all raid[0-9].conf and raid[0-9][0-9].conf, not just raid[0-3].conf. 2000-11-17 05:43:46 +00:00
rarpd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
rbootd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
root
route6d - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
routed Remove references to gated, except the conflict check in rc.d/routed. 2001-04-06 09:38:54 +00:00
rpcbind - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
rtadvd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
rtsold - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
rwho - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
savecore - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
screenblank - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
securelevel REQUIRE ipnat and mountd. 2000-09-06 01:05:43 +00:00
sendmail Patch from Hubert. aliases never get rebuilt if aliases.db is never originally generated. 2000-12-18 07:56:41 +00:00
SERVERS Treat isdnd interfaces like ppp ones, and REQUIRE isdnd here. 2001-04-26 03:56:20 +00:00
sshd be consistent with other scripts when temporarily setting umask to 022 2001-04-25 23:27:37 +00:00
swap1 check no_swap 2001-04-13 22:31:16 +00:00
swap2 remove BEFORE DAEMON 2000-08-21 23:35:41 +00:00
sysctl migrate raising of securelevel from sysctl to separate securelevel script. 2000-08-21 23:31:24 +00:00
sysdb wrap kvm_mkdb arg in "s. from adam laurie in pr 12664 2001-04-16 01:38:15 +00:00
syslogd * build /var/run/syslogd.sockets to contain list of sockets in chrooted cages 2002-01-18 10:48:41 +00:00
timed - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ttys setup tty[p-uw-zP-T]? (kern.maxpty default = 256) instead of just tty[p-s]?. 2001-04-25 12:59:16 +00:00
virecover we now rely on /usr/libexec/virecover to get the work done 2001-04-11 21:02:44 +00:00
wscons Add support for selection of a kernel builtin keymap and/or a userspace 2001-05-02 15:14:02 +00:00
xdm - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
xfs make this REQUIRE also cleartmp, so that it's started after /tmp 2000-11-09 00:05:31 +00:00
ypbind - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
yppasswdd - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00
ypserv - only perform the checkyesno on the variable named in $rcvar (rather than 2000-09-19 13:04:38 +00:00