Re: dhclient-exit-hooks

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Wed, 8 Jun 2005 12:29:35 -0700
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

Received on Wed Jun 08 2005 - 17:29:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC