summaryrefslogtreecommitdiffstats
path: root/target/linux/package/base-files/files/brcm-2.4/etc/init.d
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-30 05:37:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-30 05:37:13 +0000
commit269bbc843f5f5a013fd8c8650733ad232839bd06 (patch)
tree7c44f17147ceba3da7ff39d46c70baabf48ee48f /target/linux/package/base-files/files/brcm-2.4/etc/init.d
parentb5a6bfe9b070dbdc2265e6e7a2e82c21044cf5e3 (diff)
fix typos (#260)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3074 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/base-files/files/brcm-2.4/etc/init.d')
-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
2 files changed, 2 insertions, 2 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 72d5b63ac..719dab75e 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 a561b3965..dbae25620 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))")