From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 19:29:37 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 757F516A41C for ; Wed, 8 Jun 2005 19:29:37 +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 385D343D58 for ; Wed, 8 Jun 2005 19:29:37 +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 j58JTavG002451; Wed, 8 Jun 2005 12:29:36 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j58JTZZR002450; Wed, 8 Jun 2005 12:29:35 -0700 Date: Wed, 8 Jun 2005 12:29:35 -0700 From: Brooks Davis To: Max Boyarov Message-ID: <20050608192935.GG20036@odin.ac.hmc.edu> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fCcDWlUEdh43YKr8" Content-Disposition: inline In-Reply-To: <868y1kprxn.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 19:29:37 -0000 --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 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--