X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/445c5eeabd2d1321ecea2aa46405ecde4913cc04..dbb9afa67c7f76c2d76de323f37d1e9a64473494:/package/base-files/files/lib/network/config.sh?ds=sidebyside diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 9e7cff99a..9b4320507 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -232,6 +232,7 @@ setup_interface() { config_get mtu "$config" mtu config_get macaddr "$config" macaddr grep "$iface:" /proc/net/dev > /dev/null && \ + $DEBUG ifconfig "$iface" down && \ $DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up set_interface_ifname "$config" "$iface"