The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35504
status_led2=""
sys_mtd_part=""
brcm63xx_has_reset_button=""
+ifname=""
brcm63xx_detect() {
board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
#!/bin/sh
set_preinit_iface() {
- ifname=eth1
-
- . /lib/brcm63xx.sh
-
ifconfig $ifname 0.0.0.0 up
}
#!/bin/sh
-. /lib/brcm63xx.sh
-
enable_reset_button() {
if [ "$brcm63xx_has_reset_button" = "true" ]; then
insmod input-core