- if (nvram["boardtype"] == "bcm4710dev") {
+ if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""
# work around braindead CFE defaults in linksys routers
boardtype=$(nvram get boardtype)
boardflags=$(($(nvram get boardflags)))
# 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))")
adm_switch="$(( ($boardflags & 0x80) >> 7 ))"
case "$(( $boardtype ))" in
"$((0x708))")
- if (nvram["boardtype"] == "bcm4710dev") {
+ if (nvram["boardtype"] == "bcm94710dev") {
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""
# Linksys WRT54G v1.x
if (nvram["boardnum"] == "42") {
c["vlan0ports"]=""