freebsd-nq/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 Integrate rc.d/network_ipv6 into rc.d/netif: 2009-09-12 22:13:41 +00:00
adjkerntz
amd Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has to 2009-06-01 04:55:13 +00:00
apm
apmd
archdep Small cleanup, add (spurious) quotation marks around the value 2009-05-30 21:51:38 +00:00
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 Integrate rc.d/network_ipv6 into rc.d/netif: 2009-09-12 22:13:41 +00:00
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 Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
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 Currently there is a problem with fscking UFS file systems created on 2009-07-29 05:23:52 +00:00
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 Make the pf and ipfw firewalls start before netif, just like ipfilter 2009-06-01 05:35:03 +00:00
ipfs Make the pf and ipfw firewalls start before netif, just like ipfilter 2009-06-01 05:35:03 +00:00
ipfw Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 2009-12-02 15:05:26 +00:00
ipmon
ipnat Make the pf and ipfw firewalls start before netif, just like ipfilter 2009-06-01 05:35:03 +00:00
ipsec Fix the typo mentioned in the PR, and one additional. 2009-08-23 05:56:54 +00:00
ipxrouted
jail Execute the start/stop process of a jail in the background. 2009-11-02 09:56:46 +00:00
kadmind
kerberos
keyserv Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has to 2009-06-01 04:55:13 +00:00
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 Add support for the experimental nfs subsystem to the scripts in 2009-06-02 22:15:47 +00:00
mountlate
moused In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
mroute6d Integrate rc.d/network_ipv6 into rc.d/netif: 2009-09-12 22:13:41 +00:00
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 Integrate rc.d/network_ipv6 into rc.d/netif: 2009-09-12 22:13:41 +00:00
newsyslog In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
nfscbd Add support for the experimental nfs subsystem to the scripts in 2009-06-02 22:15:47 +00:00
nfsclient In regards to the "Starting foo:" type messages at boot time, create and 2009-10-10 22:17:03 +00:00
nfsd Add support for the experimental nfs subsystem to the scripts in 2009-06-02 22:15:47 +00:00
nfsserver
nfsuserd Add support for the experimental nfs subsystem to the scripts in 2009-06-02 22:15:47 +00:00
nisdomain Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has to 2009-06-01 04:55:13 +00:00
nscd Small cleanup, add (spurious) quotation marks around the value 2009-05-30 21:51:38 +00:00
nsswitch
ntpd Small cleanup, add (spurious) quotation marks around the value 2009-05-30 21:51:38 +00:00
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 Reverse the effect of r193198 for pf and ipfw which will once again 2009-06-26 01:04:50 +00:00
pfsync Reverse the effect of r193198 for pf and ipfw which will once again 2009-06-26 01:04:50 +00:00
power_profile
powerd
ppp Protect cross-script invocation by checking that the target script exists. 2009-09-14 16:52:38 +00:00
pppoed
pwcheck
quota Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has to 2009-06-01 04:55:13 +00:00
random
rarpd
resolv
rfcomm_pppd_server
root
route6d Add an extension of set_rcvar(), a new function set_rcvar_obsolete(), 2009-09-12 22:19:48 +00:00
routed Add an extension of set_rcvar(), a new function set_rcvar_obsolete(), 2009-09-12 22:19:48 +00:00
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 Backout previous commit due to PEBKAC 2009-03-11 12:55:12 +00:00
syscons
sysctl Integrate rc.d/network_ipv6 into rc.d/netif: 2009-09-12 22:13:41 +00:00
syslogd
timed
tmp - do not create and mount new file systems on top of the old ones on every 2009-05-17 08:25:02 +00:00
ugidfw
var
virecover
watchdogd
wpa_supplicant Move is_wired_interface() from rc.d/wpa_supplicant into network.subr, 2009-08-23 05:47:19 +00:00
ypbind
yppasswdd Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has to 2009-06-01 04:55:13 +00:00
ypserv
ypset
ypupdated
ypxfrd
zfs Currently there is a problem with fscking UFS file systems created on 2009-07-29 05:23:52 +00:00
zvol Currently there is a problem with fscking UFS file systems created on 2009-07-29 05:23:52 +00:00