aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-11-18 00:24:52 +0100
committerJohn Crispin <john@phrozen.org>2016-11-21 10:04:55 +0100
commitc380772c19f7fdc77b9aa83f98e5aedc14ac3153 (patch)
tree64f99a1a3db966af7d1c44788c30c61de6da6ac7 /target/linux/ipq806x
parent8b1731964ba4f75db61d7fbb6f5214fbe898636b (diff)
downloadupstream-c380772c19f7fdc77b9aa83f98e5aedc14ac3153.tar.gz
upstream-c380772c19f7fdc77b9aa83f98e5aedc14ac3153.tar.bz2
upstream-c380772c19f7fdc77b9aa83f98e5aedc14ac3153.zip
ipq806x: c2600: change wan and lan led trigger to swconfig port
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ipq806x')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 1f3d3133f5..e4dc820a5e 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -14,8 +14,8 @@ case "$board" in
c2600)
ucidef_set_led_usbport "usb1" "USB 1" "${board}:white:usb_2" "usb1-port1" "usb2-port1"
ucidef_set_led_usbport "usb2" "USB 2" "${board}:white:usb_4" "usb3-port1" "usb4-port1"
- ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
- ucidef_set_led_netdev "lan" "LAN" "${board}:white:lan" "eth1"
+ ucidef_set_led_switch "wan" "wan" "${board}:white:wan" "switch0" "0x20"
+ ucidef_set_led_switch "lan" "lan" "${board}:white:lan" "switch0" "0x1e"
ucidef_set_led_default "general" "general" "${board}:white:ledgnr" "1"
;;
d7800 |\