summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds8
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index f30ad05..a3d5075 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -57,6 +57,9 @@ get_status_led() {
dir-615-c1)
status_led="dir-615c1:green:status"
;;
+ dir-615-e4)
+ status_led="dir-615-e4:green:power"
+ ;;
dir-825-b1)
status_led="dir825b1:orange:power"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index d961393..c33510a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -118,6 +118,14 @@ rb750)
set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
;;
+dir-615-e4)
+ set_led_netdev "wan" "WAN" "dir-615-e4:green:wan" "eth1"
+ set_led_switch "lan1" "LAN1" "dir-615-e4:green:lan1" "switch0" "0x02"
+ set_led_switch "lan2" "LAN2" "dir-615-e4:green:lan2" "switch0" "0x04"
+ set_led_switch "lan3" "LAN3" "dir-615-e4:green:lan3" "switch0" "0x08"
+ set_led_switch "lan4" "LAN4" "dir-615-e4:green:lan4" "switch0" "0x10"
+ ;;
+
dir-825-b1)
set_led_usbdev "usb" "USB" "dir825b1:blue:usb" "1-1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index ca99898..613b2a0 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -137,6 +137,7 @@ ap96 |\
airrouter |\
dir-600-a1 |\
dir-615-c1 |\
+dir-615-e4 |\
ja76pf |\
rb-750 |\
tew-632brp |\