summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtarget/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig2
-rwxr-xr-xtarget/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram2
-rwxr-xr-xtarget/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
index 72d5b63ac7..719dab75e1 100755
--- a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
+++ b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
@@ -31,7 +31,7 @@ BEGIN {
END {
# v1 hardware
- if (nvram["boardtype"] == "bcm4710dev") {
+ if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""
diff --git a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
index a561b3965b..dbae25620b 100755
--- a/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
+++ b/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
@@ -33,7 +33,7 @@ nvram_set() { # for the linksys fixup part
# work around braindead CFE defaults in linksys routers
boardtype=$(nvram get boardtype)
boardflags=$(($(nvram get boardflags)))
-[ "$boardtype" = "bcm4710dev" ] && boardtype="0xdeadbeef"
+[ "$boardtype" = "bcm94710dev" ] && boardtype="0xdeadbeef"
adm_switch="$(( ($boardflags & 0x80) >> 7 ))"
case "$(( $boardtype ))" in
"$((0x708))")
diff --git a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
index 72d5b63ac7..719dab75e1 100755
--- a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
+++ b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
@@ -31,7 +31,7 @@ BEGIN {
END {
# v1 hardware
- if (nvram["boardtype"] == "bcm4710dev") {
+ if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""