summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds3
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/kirkwood/base-files/lib/kirkwood.sh4
3 files changed, 10 insertions, 0 deletions
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 07c1a0e..41191f7 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -13,6 +13,9 @@ case "$board" in
ucidef_set_led_default "health" "status:green:health" "1"
ucidef_set_led_default "fault" "status:orange:fault" "1"
;;
+"ea3500")
+ ucidef_set_led_default "power" "ea3500:green:power" "1"
+ ;;
"ea4500")
ucidef_set_led_default "health" "ea4500:white:health" "1"
ucidef_set_led_default "pulse" "ea4500:white:pulse" "1"
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 e795d65..bc7e793 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
@@ -40,6 +40,9 @@ case "$board" in
"pogo_e02")
set_lan_dhcp "eth0"
;;
+"ea3500")
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ;;
"ea4500")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh
index ba080f4..323a997 100755
--- a/target/linux/kirkwood/base-files/lib/kirkwood.sh
+++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh
@@ -29,6 +29,10 @@ kirkwood_board_detect() {
name="pogo_e02"
;;
+ "Linksys EA3500")
+ name="ea3500"
+ ;;
+
"Linksys EA4500")
name="ea4500"
;;