diff options
author | dougb <dougb@FreeBSD.org> | 2009-12-12 21:51:50 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-12-12 21:51:50 +0000 |
commit | ab37c8336417bc9a5b4657bd0a95260ed6c383b9 (patch) | |
tree | 647208ec4d3a7702ae13f05b8b9ce68dc6fa1e47 /usr.sbin | |
parent | b1c6888d8786b79e6c2b98a9683ccdacfef32281 (diff) | |
download | FreeBSD-src-ab37c8336417bc9a5b4657bd0a95260ed6c383b9.zip FreeBSD-src-ab37c8336417bc9a5b4657bd0a95260ed6c383b9.tar.gz |
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
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions