aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-05 22:25:30 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-02-05 22:25:30 +0000
commite0ccfea057eed40dc794608c92d58fffd0e8b1af (patch)
tree056f09f326f86feebc0fc9a9609120a11ecfe4fa /target/linux/brcm63xx/base-files/lib/brcm63xx.sh
parentaabf50e0bf063bb4ae66042108062e4e40b4a534 (diff)
downloadmaster-187ad058-e0ccfea057eed40dc794608c92d58fffd0e8b1af.tar.gz
master-187ad058-e0ccfea057eed40dc794608c92d58fffd0e8b1af.tar.bz2
master-187ad058-e0ccfea057eed40dc794608c92d58fffd0e8b1af.zip
[brcm63xx] remove superfluous calls to /lib/brcm63xx.sh
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35504 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/lib/brcm63xx.sh')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 87b2063dbd..d3ad1b6e0b 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -9,6 +9,7 @@ status_led=""
status_led2=""
sys_mtd_part=""
brcm63xx_has_reset_button=""
+ifname=""
brcm63xx_detect() {
board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)