X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/edde8d40b677a02d729e299aa0f986598deb287d..7eaccfbb4e6544d4af3e389c1020e76d95f89fe6:/root/sbin/ifdown diff --git a/root/sbin/ifdown b/root/sbin/ifdown index d1d19b033..4c7e98211 100755 --- a/root/sbin/ifdown +++ b/root/sbin/ifdown @@ -4,5 +4,5 @@ debug "### ifdown $type ###" if=$(nvram_get ${type}_ifname) if_valid $if || return - kill $(cat /var/run/${if}.pid 2>-) 2>- + kill $(cat /var/run/${if}.pid 2>&-) 2>&- $DEBUG ifconfig $if down