summaryrefslogtreecommitdiff
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary.jackiewicz@gmail.com>2016-11-02 18:11:33 +0100
committerJohn Crispin <john@phrozen.org>2016-11-03 08:21:32 +0100
commitdafbc94f95141655f358fdd015a552921b3a66a3 (patch)
tree192dc8af4d506078ead083339c413e767e1df40a /target/linux/ipq806x
parentfaf94d926e2810f895f2a98d4a49ee2fe8f673e8 (diff)
downloadmtk-20170518-dafbc94f95141655f358fdd015a552921b3a66a3.zip
mtk-20170518-dafbc94f95141655f358fdd015a552921b3a66a3.tar.gz
mtk-20170518-dafbc94f95141655f358fdd015a552921b3a66a3.tar.bz2
ipq806x: TP-Link Archer C2600: convert old usbdev trigger to new usbport
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.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 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"