X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/22947061278d3eba96d0a332be7176546d275a77..b10341b15c80422f5257fbeab05e4185f5b145d4:/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm index 81cf1f138..3cd760e2d 100644 --- a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm +++ b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm @@ -13,6 +13,7 @@ set_preinit_iface() { "ASUS (unknown, BCM4702)") ifname=eth1;; "Sitecom WL-105b") ifname=eth1;; esac + ifconfig $ifname 0.0.0.0 up } check_module () { @@ -32,7 +33,5 @@ init_iface() { } || rmmod switch-core } -boot_hook_add preinit_main init_iface boot_hook_add preinit_main set_preinit_iface - - +boot_hook_add preinit_main init_iface