set Package/rt2800-pci to BROKEN
[openwrt.git] / package / base-files / files / lib / network / config.sh
index 9e7cff9..9b43205 100755 (executable)
@@ -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"
 
This page took 0.019688 seconds and 4 git commands to generate.