1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 21:27:31 +02:00

fix typos (#260)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3074 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-01-30 05:37:13 +00:00
parent 208768c9fd
commit b74cd7490e
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ BEGIN {
END { END {
# v1 hardware # v1 hardware
if (nvram["boardtype"] == "bcm4710dev") { if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x # Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") { if (nvram["boardnum"] == "42") {
c["vlan0ports"]="" c["vlan0ports"]=""

View File

@ -33,7 +33,7 @@ nvram_set() { # for the linksys fixup part
# work around braindead CFE defaults in linksys routers # work around braindead CFE defaults in linksys routers
boardtype=$(nvram get boardtype) boardtype=$(nvram get boardtype)
boardflags=$(($(nvram get boardflags))) boardflags=$(($(nvram get boardflags)))
[ "$boardtype" = "bcm4710dev" ] && boardtype="0xdeadbeef" [ "$boardtype" = "bcm94710dev" ] && boardtype="0xdeadbeef"
adm_switch="$(( ($boardflags & 0x80) >> 7 ))" adm_switch="$(( ($boardflags & 0x80) >> 7 ))"
case "$(( $boardtype ))" in case "$(( $boardtype ))" in
"$((0x708))") "$((0x708))")

View File

@ -31,7 +31,7 @@ BEGIN {
END { END {
# v1 hardware # v1 hardware
if (nvram["boardtype"] == "bcm4710dev") { if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x # Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") { if (nvram["boardnum"] == "42") {
c["vlan0ports"]="" c["vlan0ports"]=""