Date: Wed, 8 Jun 2005 11:22:28 -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: <20050608182228.GD20036@odin.ac.hmc.edu> In-Reply-To: <86fyvspui5.fsf@tut.by> References: <86vf4pq931.fsf@tut.by> <20050608173913.GB20036@odin.ac.hmc.edu> <86fyvspui5.fsf@tut.by>
next in thread | previous in thread | raw e-mail | index | archive | help
--M38YqGLZlgb6RLPS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Thanks for testing, I'll=20 There isn't a pid file at this point. I'm planning to add one as a way to debounce startup requests that's more reliable than the current pgrep solution, but it's not actually needed other than that. If you want to kill dhclient, you just need to do "ifconfig <if> down". -- 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 --M38YqGLZlgb6RLPS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCpzdjXY6L6fI4GtQRAmXEAKCukqRagJGqG0T79V3HZRGiEfrxwgCeNtll MwLfCNHvkavsTX45cRhaCz8= =XHWy -----END PGP SIGNATURE----- --M38YqGLZlgb6RLPS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608182228.GD20036>