From: nbd Date: Mon, 30 Jan 2006 05:37:13 +0000 (+0000) Subject: fix typos (#260) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/b74cd7490e2370ad7369bcb166c876788fcc33e1 fix typos (#260) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3074 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig index 72d5b63ac..719dab75e 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig +++ b/openwrt/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/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram index a561b3965..dbae25620 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram +++ b/openwrt/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/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig index 72d5b63ac..719dab75e 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig +++ b/openwrt/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"]=""