freebsd-nq/etc/rc.d
Gregory Neil Shapiro d1fb385c10 Fix the startup logic for sendmail. If sendmail_enable=yes, don't start
the submit and outbound daemon, else if sendmail_submit_enable=yes, don't
start the outbound daemon.  Only one daemon should be started.

Also, do not rebuild database maps at boot time.  The code didn't pay
attention to SENDMAIL_MAP_TYPE and assumed 'hash'.  Also, admins may
not want maps automatically rebuilt just because the back end database
has changed.  Finally, some maps are built with mode tools than just
makemap (e.g., using cidrexpand on the access text file before sending
it to makemap).

Noticed by:	ache
Reviewed by:	ache
2004-08-05 03:09:54 +00:00
..
abi Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
accounting Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
addswap Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
adjkerntz Catch up with diskless split "diskless" is no longer provided. 2004-04-12 18:11:00 +00:00
altqd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
amd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
apm Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
apmd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
archdep Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm1 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm2 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm3 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
bgfsck Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
bootconf.sh Fix style bugs: 2002-10-12 10:31:31 +00:00
bootparams Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ccd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
cleanvar Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
cleartmp Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
cron Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
DAEMON Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
devd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
devfs Add a way for rc.d/devfs to set more than just the system devfs up. 2004-03-20 07:10:16 +00:00
dhclient The err routine requires two arguments: an exit value and a string. 2004-05-20 14:16:05 +00:00
dhcpd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dhcrelay Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dmesg Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
downinterfaces Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dumpon Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
early.sh o Add support for running /etc/rc.early 2003-04-24 08:27:29 +00:00
encswap Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
fsck Don't run fsck if there's no /etc/fstab. 2004-03-11 20:00:10 +00:00
gated
gbde For the gbde attach script: 2004-07-18 18:01:48 +00:00
gbde_swap Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
hostname - Use "/bin/hostname" explicitly instead of "hostname". 2004-04-02 12:18:40 +00:00
ifwatchd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ike Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
inetd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
initdiskless Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
initrandom Take into account hardware-supplied entropy. If the entropy source 2004-04-09 15:56:16 +00:00
ip6addrctl Add ip6addrctl_enable and ip6_addrctl_verbose option. If 2004-06-02 09:39:49 +00:00
ip6fw Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipfilter apply patch so pr can be closed 2004-04-20 13:30:49 +00:00
ipfs Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipfw Protect som cross-script invocations by checks to see that the target 2004-04-28 13:20:15 +00:00
ipmon apply patch so pr can be closed 2004-04-20 13:30:49 +00:00
ipnat Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipsec Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipxrouted Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
isdnd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
jail Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
kadmind Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
kdc Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
kerberos Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
keyserv Clean up the scripts to use the new variables: 2002-08-14 05:44:32 +00:00
kldxref Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
kpasswdd s/kadmind5/kadmin/ 2003-05-06 02:28:03 +00:00
ldconfig Remove scripts we don't use from requirement lines. These were 2004-03-05 07:43:38 +00:00
lkm1 Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
lkm2 Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
lkm3 Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
local Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
localpkg back out the localkg changes until things have settled. 2004-07-28 00:09:19 +00:00
lockd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
LOGIN Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
lomac Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
lpd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:40:45 +00:00
Makefile Install nsswitch. 2004-05-24 14:17:19 +00:00
mixer A few small cleanups: 2004-03-27 09:26:22 +00:00
mixerctl Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
mopd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
motd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
mountall Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
mountcritlocal Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mountcritremote Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mountd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
moused Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mroute6d Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mrouted Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
msgs Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
named 1. Remove the named_rcng variable. Mike's caution in this area was a good 2004-03-14 19:10:06 +00:00
natd Add separate script for natd. This fixes race condition with "ipfw restart" 2004-04-05 16:29:45 +00:00
ndbootd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
netif Finish cleanup of rc.d/netif. It's now possible to start/stop more 2004-07-30 17:19:35 +00:00
netoptions Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
network - Use "/bin/hostname" explicitly instead of "hostname". 2004-04-02 12:18:40 +00:00
network_ipv6 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
NETWORKING Remove scripts we don't use from requirement lines. These were 2004-03-05 07:43:38 +00:00
newsyslog Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
nfsclient Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfsd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfslocking Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfsserver Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nisdomain Move the task of updating nsswitch.conf / host.conf into a separate 2004-05-24 11:48:58 +00:00
nsswitch Correct an error carried over from the nsswitch.conf(5) manual page; add 2004-06-21 19:38:58 +00:00
ntpd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ntpdate Fix the case where $ntpdate_hosts was not specified and /etc/ntp.conf 2004-03-29 20:00:54 +00:00
othermta Make the othermta script DTRT when an mta startup script is not specified. 2002-08-09 17:45:04 +00:00
pccard Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pcvt Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pf Swap order of ruleset load and enabling pf to work around a problem on altq 2004-06-23 01:42:06 +00:00
pflog Add rc.d script to start pflogd and add rcvars etc. Also document vars in 2004-04-02 19:25:27 +00:00
poffd Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
postfix Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
power_profile Change hw.acpi.cpu.cx_lowest to accept values in the form of C1, 2004-05-07 05:22:38 +00:00
ppp Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ppp-user Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pppoed Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
preseedrandom Back out rev 1.3. 2004-06-08 19:53:25 +00:00
pwcheck Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
quota Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
racoon Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
raidframe Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ramdisk Style fixes, as suggested by Jens Schweikhardt <schweikh@schweikhardt.net> 2004-04-06 23:15:48 +00:00
ramdisk-own Style fixes, as suggested by Jens Schweikhardt <schweikh@schweikhardt.net> 2004-04-06 23:15:48 +00:00
random Catch up with diskless split "diskless" is no longer provided. 2004-04-12 18:11:00 +00:00
rarpd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rbootd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
rcconf.sh Read /etc/rc.subr. 2003-01-25 20:02:35 +00:00
resolv Replace shell's positional parameters safely. 2004-04-28 09:09:27 +00:00
root Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
route6d Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
routed Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
routing Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rpcbind Remove scripts we don't use from requirement lines. These were 2004-03-05 07:43:38 +00:00
rtadvd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rtsold Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
rwho Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
savecore Echo and pass dumpdev as the device argument to savecore. 2004-03-18 15:18:20 +00:00
screenblank Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
securelevel Simplify setting of securelevel. 2004-01-17 11:11:18 +00:00
sendmail Fix the startup logic for sendmail. If sendmail_enable=yes, don't start 2004-08-05 03:09:54 +00:00
serial Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
SERVERS Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
sppp Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
sshd Give sshd a secure startup, but with a tweakable timeout so that 2004-08-04 08:10:37 +00:00
statd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
swap1 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
swap2 Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
syscons Allow setting the system console keyboard via the ${keyboard} rc.conf 2004-06-18 20:09:30 +00:00
sysctl o Rename the start command to conform to rc.d style. 2004-01-17 11:15:04 +00:00
sysdb Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
syslogd The syslogd script should require that /var is cleaned before it runs. 2004-03-05 07:55:04 +00:00
timed Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
tmp Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
usbd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
var Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
vinum Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
virecover From the PR: 2004-03-03 15:21:01 +00:00
watchdogd Removes the check for the existence of the sysctl variable 2004-04-26 19:41:37 +00:00
wscons Fix style bugs: 2002-10-12 10:31:31 +00:00
xdm
xfs Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ypbind Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:59:43 +00:00
yppasswdd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:59:43 +00:00
ypserv Make conform to general rc.d style. 2004-01-17 11:19:01 +00:00
ypset Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00
ypupdated Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00
ypxfrd Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00