projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix brcm-2.4/brcm47xx failsafe init (thx, puchu)
[openwrt.git]
/
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
81cf1f1
..
3cd760e
100644
(file)
--- 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
"ASUS (unknown, BCM4702)") ifname=eth1;;
"Sitecom WL-105b") ifname=eth1;;
esac
+ ifconfig $ifname 0.0.0.0 up
}
check_module () {
}
check_module () {
@@
-32,7
+33,5
@@
init_iface() {
} || rmmod switch-core
}
} || rmmod switch-core
}
-boot_hook_add preinit_main init_iface
boot_hook_add preinit_main set_preinit_iface
boot_hook_add preinit_main set_preinit_iface
-
-
+boot_hook_add preinit_main init_iface
This page took
0.019558 seconds
and
4
git commands to generate.