From owner-freebsd-current Thu Oct 26 11: 6:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from tkc.att.ne.jp (tkc.att.ne.jp [165.76.16.7]) by hub.freebsd.org (Postfix) with ESMTP id 14D6637B479; Thu, 26 Oct 2000 11:06:47 -0700 (PDT) Received: from work.mzaki.nom (242.pool7.ipctokyo.att.ne.jp [165.76.45.242]) by tkc.att.ne.jp (8.8.8+Spin/3.6W-CONS(10/06/00)) id DAA25126; Fri, 27 Oct 2000 03:06:45 +0900 (JST) Date: Fri, 27 Oct 2000 03:06:44 +0900 Message-ID: <863dhj8ojv.wl@tkc.att.ne.jp> From: Motomichi Matsuzaki To: joe@FreeBSD.org Cc: current@freebsd.org Subject: Re: pccard_ether wouldn't kill dhclient when card is removed In-Reply-To: In your message of "Wed, 25 Oct 2000 01:31:57 +0900" <863dhmfbeq.wl@tkc.att.ne.jp> References: <863dhmfbeq.wl@tkc.att.ne.jp> X-Mailer: Wanderlust/1.1.1 (Purple Rain) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 (generated by WEMI 1.13.7 - "Shimada") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please, please commit this. At Wed, 25 Oct 2000 01:31:57 +0900, Motomichi Matsuzaki wrote: > patch for revision 1.20: > > --- /etc/pccard_ether Thu Oct 19 16:24:35 2000 > +++ pccard_ether Wed Oct 25 01:27:05 2000 > @@ -46,7 +46,7 @@ > > interface=$1 > shift > -startstop=$2 > +startstop=$1 > shift > > case ${startstop} in > @@ -101,7 +101,7 @@ > ;; > # Stop the interface > *) > - /sbin/ifconfig $device delete > + /sbin/ifconfig ${interface} delete > stop_dhcp > ;; > esac -- Motomichi Matsuzaki Dept. of Biological Sciences, Grad. School of Science, Univ. of Tokyo, Japan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message