summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether4
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
OpenPOWER on IntegriCloud