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