From: Henryk Heisig Date: Thu, 17 Nov 2016 23:24:52 +0000 (+0100) Subject: ipq806x: c2600: change wan and lan led trigger to swconfig port X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c380772c19f7fdc77b9aa83f98e5aedc14ac3153;p=openwrt%2Fstaging%2Fynezz.git ipq806x: c2600: change wan and lan led trigger to swconfig port Signed-off-by: Henryk Heisig --- 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 |\