wap54g support
[openwrt/svn-archive/archive.git] / obsolete-buildroot / sources / openwrt / root / sbin / ifdown
index 4c7e982117600eed6d41074df62997a82579f386..e59e05739744c52b26ae9a66f0e511284fb0137a 100755 (executable)
@@ -2,7 +2,7 @@
 . /etc/functions.sh
   type=$1
   debug "### ifdown $type ###"
-  if=$(nvram_get ${type}_ifname)
+  if=$(nvram get ${type}_ifname)
   if_valid $if || return
   kill $(cat /var/run/${if}.pid 2>&-) 2>&-
   $DEBUG ifconfig $if down