summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/root/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/root/sbin/ifdown')
-rwxr-xr-xobsolete-buildroot/sources/openwrt/root/sbin/ifdown2
1 files changed, 1 insertions, 1 deletions
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