fix typos (#260)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jan 2006 05:37:13 +0000 (05:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jan 2006 05:37:13 +0000 (05:37 +0000)
SVN-Revision: 3074

openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig

index 72d5b63..719dab7 100755 (executable)
@@ -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"]=""
index a561b39..dbae256 100755 (executable)
@@ -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))")
index 72d5b63..719dab7 100755 (executable)
@@ -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"]=""