Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 01:31:57 +0900
From:      Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
To:        current@freebsd.org
Cc:        joe@FreeBSD.org
Subject:   pccard_ether wouldn't kill dhclient when card is removed
Message-ID:  <863dhmfbeq.wl@tkc.att.ne.jp>

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

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 <mzaki@e-mail.ne.jp> 
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




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