[source] ipq806x: TP-Link Archer C2600: convert old usbdev trigger to new usbport
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 3 00:35:02 PDT 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/dafbc94f95141655f358fdd015a552921b3a66a3
commit dafbc94f95141655f358fdd015a552921b3a66a3
Author: Cezary Jackiewicz <cezary.jackiewicz at gmail.com>
AuthorDate: Wed Nov 2 18:11:33 2016 +0100
ipq806x: TP-Link Archer C2600: convert old usbdev trigger to new usbport
Signed-off-by: Cezary Jackiewicz <cezary at eko.one.pl>
---
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 53c2a80..6809c54 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -12,8 +12,8 @@ board=$(ipq806x_board_name)
case "$board" in
c2600)
- ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb_2" "2-1"
- ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb_4" "4-1"
+ 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" "br-lan"
ucidef_set_led_default "general" "general" "${board}:white:ledgnr" "1"
More information about the lede-commits
mailing list