aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-11-10 00:16:28 +0000
committerLuka Perkov <luka@openwrt.org>2015-11-10 00:16:28 +0000
commit99d0e6071075f70fffc1d552e680461ff6dad8af (patch)
treef4e5d2787e591ca1ba467b096682e4a971535aab /target/linux/kirkwood/base-files
parent3013d789d1911725a1298c8d0f60c06beefe7f56 (diff)
downloadmaster-187ad058-99d0e6071075f70fffc1d552e680461ff6dad8af.tar.gz
master-187ad058-99d0e6071075f70fffc1d552e680461ff6dad8af.tar.bz2
master-187ad058-99d0e6071075f70fffc1d552e680461ff6dad8af.zip
kirkwood: consistently use engineering board names
Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/diag.sh4
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds10
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network4
-rwxr-xr-xtarget/linux/kirkwood/base-files/lib/kirkwood.sh6
4 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh
index 716e6c9fbf..0435376308 100755
--- a/target/linux/kirkwood/base-files/etc/diag.sh
+++ b/target/linux/kirkwood/base-files/etc/diag.sh
@@ -12,8 +12,8 @@ get_status_led() {
pogo_e02)
status_led="status:orange:fault"
;;
- ea4500)
- status_led="ea4500:white:health"
+ linksys-viper)
+ status_led="viper:white:health"
;;
esac
}
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
index e0ae6591d3..d6c0e1e15e 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -13,12 +13,12 @@ case "$board" in
ucidef_set_led_default "health" "health" "status:green:health" "1"
ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
;;
-"ea3500")
- ucidef_set_led_default "power" "power" "ea3500:green:power" "1"
+"linksys-audi")
+ ucidef_set_led_default "power" "power" "audi:green:power" "1"
;;
-"ea4500")
- ucidef_set_led_default "health" "health" "ea4500:white:health" "1"
- ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1"
+"linksys-viper")
+ ucidef_set_led_default "health" "health" "viper:white:health" "1"
+ ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
"goflexhome" | \
"goflexnet")
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
index 150926e3a6..3491b5807b 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
@@ -37,13 +37,13 @@ case "$board" in
"pogo_e02")
set_lan_dhcp "eth0"
;;
-"ea3500")
+"linksys-audi")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"
ucidef_add_switch_vlan "switch0" "2" "4 6"
;;
-"ea4500")
+"linksys-viper")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"
diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh
index 6e0f444d3e..0e898ac197 100755
--- a/target/linux/kirkwood/base-files/lib/kirkwood.sh
+++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh
@@ -38,11 +38,11 @@ kirkwood_board_detect() {
;;
"Linksys EA3500")
- name="ea3500"
+ name="linksys-audi"
;;
- "Linksys EA4500")
- name="ea4500"
+ "Linksys E4200v2 / EA4500")
+ name="linksys-viper"
;;
"Globalscale Technologies Guruplug Server Plus")