diff options
author | joe <joe@FreeBSD.org> | 2000-10-28 14:31:40 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-10-28 14:31:40 +0000 |
commit | 3d348198c83008d26ba78f0ac97a9b634b568650 (patch) | |
tree | 164b94f48a89c79885f4c353822cf2193e1f8703 /etc/pccard_ether | |
parent | 5f9ff12cb1a8affc4b7eaa7df0c37fb4f0161659 (diff) | |
download | FreeBSD-src-3d348198c83008d26ba78f0ac97a9b634b568650.zip FreeBSD-src-3d348198c83008d26ba78f0ac97a9b634b568650.tar.gz |
Fix a blatant bug when running '/etc/pccard_ether device stop'.
I wasn't dropping the interface correctly, but not noticing because
the interface was going away when the card was ejected.
Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-x | etc/pccard_ether | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether index 80f4a22..15d0197 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -46,7 +46,7 @@ fi interface=$1 shift -startstop=$2 +startstop=$1 shift case ${startstop} in @@ -101,7 +101,7 @@ case ${startstop} in ;; # Stop the interface *) - /sbin/ifconfig $device delete + /sbin/ifconfig ${interface} delete stop_dhcp ;; esac |