X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/512afda668386575e4d146d22161ca3afa3af728..3542143e422ec3bcf768c8920357dae2e9761d92:/obsolete-buildroot/sources/openwrt/root/sbin/ifdown diff --git a/obsolete-buildroot/sources/openwrt/root/sbin/ifdown b/obsolete-buildroot/sources/openwrt/root/sbin/ifdown index 4c7e98211..e59e05739 100755 --- a/obsolete-buildroot/sources/openwrt/root/sbin/ifdown +++ b/obsolete-buildroot/sources/openwrt/root/sbin/ifdown @@ -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