fix typo
authorFelix Fietkau <nbd@openwrt.org>
Sun, 16 Jul 2006 15:30:43 +0000 (15:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 16 Jul 2006 15:30:43 +0000 (15:30 +0000)
SVN-Revision: 4132

openwrt/package/base-files/default/sbin/ifdown

index 5f245fe83b2c203de275f85ef6dd32391fd40914..c4a9980bb68f44c24495c3cf95d07f0a1478842b 100755 (executable)
@@ -12,6 +12,6 @@ if_valid $if && $DEBUG ifconfig $if down
 killall ifup.$proto >&- 2>&-
 case "$proto" in
        pptp|pppoe) killall pppd >&- 2>&- ;;
-       static) env -i ACTION="ifdown" INTERFACE="$if" PROTO=static /sbin/hotplug "iface" ;;
+       static) env -i ACTION="ifdown" INTERFACE="$type" PROTO=static /sbin/hotplug "iface" ;;
 esac