dhclient-exit-hooks

Brooks Davis brooks at one-eyed-alien.net
Wed Jun 8 19:29:37 GMT 2005


On Wed, Jun 08, 2005 at 10:30:28PM +0300, Max Boyarov wrote:
> 
> >>>>> "BD" == Brooks Davis writes:
> 
>  BD>  On Wed, Jun 08, 2005 at 09:34:58PM +0300, Max Boyarov wrote:
>  >> 
>  >> >>>>> "BD" == Brooks Davis writes:
>  >>  Thanks! It's work, but now i can't find how setup pid file for
>  >> dhclient. ps + grep or pgrep work, but pid file name that includes
>  >> name of a network interface seems to be more convenient.
> 
>  BD> Thanks for testing, I'll 
> 
>  BD> There isn't a pid file at this point.  I'm planning to add one as a way
>  BD> to debounce startup requests that's more reliable than the current pgrep
>  BD> solution, but it's not actually needed other than that.  If you want to
>  BD> kill dhclient, you just need to do "ifconfig <if> down".
>  But i can run more that one dhclient for one interface runing 
> dhclient iface. It's ok ?

I'm not sure what you're getting at.  You run one dhclient per
inferface.  If you try to run another one, it causes the older one to
die.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050608/24884492/attachment.bin


More information about the freebsd-current mailing list