freebsd-skq/etc/rc.d
Doug Barton f25291f3a1 Since the change to rc.subr in r198162 it's not necessary to specify
command in the rc.d script if we have a corresponding ${name}_program
entry, which we do for named.

Rename named_precmd to named_prestart to make it more clear and match
convention.

Move the command_args definition related to -u up into _prestart().
It (and the associated $named_uid value) are only used there, and
unlike required_* and pidfile don't need to be used until this stage.

Fix a silly bug that would only have affected people who were using
the new named_wait or named_auto_forward features, AND had set up an
rndc.conf file instead of using the automatically generated rndc.key.

For named_conf:
	Add "-c $named_conf" to command_args if it's not set to the
	default. If it is set to the default and we're using the base
	BIND it's not necessary. If we're using BIND from the ports
	the user is likely to have included it in _flags (due to long
	necessity for doing so) so don't duplicate that if it's set.

	Add $named_conf to required_files
2009-12-12 21:51:50 +00:00
..
abi
accounting
addswap
adjkerntz
amd
apm
apmd
archdep
atm1
atm2
atm3
auditd
bgfsck In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
bluetooth
bootparams
bridge
bsnmpd
bthidd
ccd
cleanvar
cleartmp In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
cron
DAEMON
ddb
defaultroute - Add AF_IPX and AF_NATM to afexists(). 2009-10-02 02:24:25 +00:00
devd
devfs
dhclient
dmesg
dumpon
encswap
faith Remove a circular dependency on routing 2009-10-17 21:09:15 +00:00
FILESYSTEMS
fsck In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
ftp-proxy
ftpd
gbde
geli
geli2
gssd
hcsecd
hostapd
hostid In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
hostid_save
hostname In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
inetd
initrandom
ip6addrctl - Add AF_IPX and AF_NATM to afexists(). 2009-10-02 02:24:25 +00:00
ipfilter
ipfs
ipfw Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 2009-12-02 15:05:26 +00:00
ipmon
ipnat
ipsec
ipxrouted
jail Execute the start/stop process of a jail in the background. 2009-11-02 09:56:46 +00:00
kadmind
kerberos
keyserv
kldxref
kpasswdd
ldconfig In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
local
localpkg
lockd
LOGIN
lpd
Makefile Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 2009-12-02 15:05:26 +00:00
mdconfig
mdconfig2
mixer
motd In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
mountcritlocal In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
mountcritremote
mountd
mountlate
moused In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
mroute6d
mrouted
msgs
named Since the change to rc.subr in r198162 it's not necessary to specify 2009-12-12 21:51:50 +00:00
natd
netif In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
netoptions Use double-quotation marks to fix the unexpanded variable issue. 2009-10-23 09:30:19 +00:00
NETWORKING
newsyslog In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
nfscbd
nfsclient In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
nfsd
nfsserver
nfsuserd
nisdomain
nscd
nsswitch
ntpd
ntpdate
othermta
pf In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
pflog
pfsync
power_profile
powerd
ppp
pppoed
pwcheck
quota
random
rarpd
resolv
rfcomm_pppd_server
root
route6d
routed
routing - Enable an afexists() check only when no AF argument is specified. 2009-10-02 20:19:53 +00:00
rpcbind
rtadvd Use ipv6if() when $rtadvd_interfaces="AUTO". 2009-09-26 19:00:47 +00:00
rwho
savecore In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
sdpd
securelevel
sendmail
serial
SERVERS
sppp
sshd
statd
static_arp Revert the previous afexists() change. Knobs configured explicitly by 2009-10-02 06:19:34 +00:00
stf Remove a circular dependency on routing 2009-10-17 21:09:15 +00:00
swap1
syscons
sysctl
syslogd
timed
tmp
ugidfw
var
virecover
watchdogd
wpa_supplicant
ypbind
yppasswdd
ypserv
ypset
ypupdated
ypxfrd
zfs
zvol