From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 18:22:29 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5906616A41C for ; Wed, 8 Jun 2005 18:22:29 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0937243D49 for ; Wed, 8 Jun 2005 18:22:28 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j58IMSDc027715; Wed, 8 Jun 2005 11:22:28 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j58IMSot027708; Wed, 8 Jun 2005 11:22:28 -0700 Date: Wed, 8 Jun 2005 11:22:28 -0700 From: Brooks Davis To: Max Boyarov Message-ID: <20050608182228.GD20036@odin.ac.hmc.edu> References: <86vf4pq931.fsf@tut.by> <20050608173913.GB20036@odin.ac.hmc.edu> <86fyvspui5.fsf@tut.by> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M38YqGLZlgb6RLPS" Content-Disposition: inline In-Reply-To: <86fyvspui5.fsf@tut.by> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@freebsd.org Subject: Re: dhclient-exit-hooks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 18:22:29 -0000 --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 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--