Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 12:29:35 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Max Boyarov <max_b@tut.by>
Cc:        freebsd-current@freebsd.org
Subject:   Re: dhclient-exit-hooks
Message-ID:  <20050608192935.GG20036@odin.ac.hmc.edu>
In-Reply-To: <868y1kprxn.fsf@tut.by>
References:  <86vf4pq931.fsf@tut.by> <20050608173913.GB20036@odin.ac.hmc.edu> <86fyvspui5.fsf@tut.by> <20050608182228.GD20036@odin.ac.hmc.edu> <868y1kprxn.fsf@tut.by>

next in thread | previous in thread | raw e-mail | index | archive | help

--fCcDWlUEdh43YKr8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 08, 2005 at 10:30:28PM +0300, Max Boyarov wrote:
>=20
> >>>>> "BD" =3D=3D Brooks Davis writes:
>=20
>  BD>  On Wed, Jun 08, 2005 at 09:34:58PM +0300, Max Boyarov wrote:
>  >>=20
>  >> >>>>> "BD" =3D=3D 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.
>=20
>  BD> Thanks for testing, I'll=20
>=20
>  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 p=
grep
>  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=20
> 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

--=20
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

--fCcDWlUEdh43YKr8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCp0ceXY6L6fI4GtQRAnbrAJ9WrhvH8Fb3DYWSwRcUmmaCT62PVQCfbjEy
AkKzjrMiXD3p48qOOB9A87M=
=qD6E
-----END PGP SIGNATURE-----

--fCcDWlUEdh43YKr8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608192935.GG20036>