X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/edde8d40b677a02d729e299aa0f986598deb287d..f83ff5a9deae5d6688af201de4c09eb0c0f81686:/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