cvs commit: src/etc/rc.d named

LI Xin delphij at delphij.net
Mon Oct 22 11:10:29 PDT 2007


Doug Barton wrote:
> dougb       2007-10-22 09:38:44 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             named 
>   Log:
>   1. Determine the location of the rndc* binaries relative to $command
>   so that when using named from the ports (or elsewhere) the proper rndc*
>   commands will be run.
>   
>   2. Rework the stop routine using ideas from brooks and delphij.
>   Specifically I am duplicating a lot of code from rc.subr's stop routine
>   so that this one will behave more like the one in rc.subr, but use rndc
>   to kill the daemon (or regular kill if that fails). This also avoids
>   the problems related to using killall if rndc fails, which is bad if
>   you're running more than one named on the same box.

Thanks!

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20071022/8b9462fa/signature.pgp


More information about the cvs-all mailing list