f25291f3a1
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 |
||
---|---|---|
.. | ||
abi | ||
accounting | ||
addswap | ||
adjkerntz | ||
amd | ||
apm | ||
apmd | ||
archdep | ||
atm1 | ||
atm2 | ||
atm3 | ||
auditd | ||
bgfsck | ||
bluetooth | ||
bootparams | ||
bridge | ||
bsnmpd | ||
bthidd | ||
ccd | ||
cleanvar | ||
cleartmp | ||
cron | ||
DAEMON | ||
ddb | ||
defaultroute | ||
devd | ||
devfs | ||
dhclient | ||
dmesg | ||
dumpon | ||
encswap | ||
faith | ||
FILESYSTEMS | ||
fsck | ||
ftp-proxy | ||
ftpd | ||
gbde | ||
geli | ||
geli2 | ||
gssd | ||
hcsecd | ||
hostapd | ||
hostid | ||
hostid_save | ||
hostname | ||
inetd | ||
initrandom | ||
ip6addrctl | ||
ipfilter | ||
ipfs | ||
ipfw | ||
ipmon | ||
ipnat | ||
ipsec | ||
ipxrouted | ||
jail | ||
kadmind | ||
kerberos | ||
keyserv | ||
kldxref | ||
kpasswdd | ||
ldconfig | ||
local | ||
localpkg | ||
lockd | ||
LOGIN | ||
lpd | ||
Makefile | ||
mdconfig | ||
mdconfig2 | ||
mixer | ||
motd | ||
mountcritlocal | ||
mountcritremote | ||
mountd | ||
mountlate | ||
moused | ||
mroute6d | ||
mrouted | ||
msgs | ||
named | ||
natd | ||
netif | ||
netoptions | ||
NETWORKING | ||
newsyslog | ||
nfscbd | ||
nfsclient | ||
nfsd | ||
nfsserver | ||
nfsuserd | ||
nisdomain | ||
nscd | ||
nsswitch | ||
ntpd | ||
ntpdate | ||
othermta | ||
pf | ||
pflog | ||
pfsync | ||
power_profile | ||
powerd | ||
ppp | ||
pppoed | ||
pwcheck | ||
quota | ||
random | ||
rarpd | ||
resolv | ||
rfcomm_pppd_server | ||
root | ||
route6d | ||
routed | ||
routing | ||
rpcbind | ||
rtadvd | ||
rwho | ||
savecore | ||
sdpd | ||
securelevel | ||
sendmail | ||
serial | ||
SERVERS | ||
sppp | ||
sshd | ||
statd | ||
static_arp | ||
stf | ||
swap1 | ||
syscons | ||
sysctl | ||
syslogd | ||
timed | ||
tmp | ||
ugidfw | ||
var | ||
virecover | ||
watchdogd | ||
wpa_supplicant | ||
ypbind | ||
yppasswdd | ||
ypserv | ||
ypset | ||
ypupdated | ||
ypxfrd | ||
zfs | ||
zvol |