Re: pccard_ether wouldn't kill dhclient when card is removed

2000-10-26 Thread Motomichi Matsuzaki


Please, please commit this.

At Wed, 25 Oct 2000 01:31:57 +0900,
Motomichi Matsuzaki <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 
Dept. of Biological Sciences, Grad. School of Science, Univ. of Tokyo, Japan 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pccard_ether wouldn't kill dhclient when card is removed

2000-10-24 Thread Motomichi Matsuzaki


patch for revision 1.20:

--- /etc/pccard_ether   Thu Oct 19 16:24:35 2000
+++ pccard_etherWed 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 <[EMAIL PROTECTED]> 
Dept. of Biological Sciences, Grad. School of Science, Univ. of Tokyo, Japan 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message