From c380772c19f7fdc77b9aa83f98e5aedc14ac3153 Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Fri, 18 Nov 2016 00:24:52 +0100 Subject: [PATCH] ipq806x: c2600: change wan and lan led trigger to swconfig port Signed-off-by: Henryk Heisig --- target/linux/ipq806x/base-files/etc/board.d/01_leds | 4 ++-- 1 file 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 1f3d3133f53..e4dc820a5ea 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 |\ -- 2.30.2