aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc
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/base-files/etc
parentfaf94d926e2810f895f2a98d4a49ee2fe8f673e8 (diff)
downloadupstream-dafbc94f95141655f358fdd015a552921b3a66a3.tar.gz
upstream-dafbc94f95141655f358fdd015a552921b3a66a3.tar.bz2
upstream-dafbc94f95141655f358fdd015a552921b3a66a3.zip
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/base-files/etc')
-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 53c2a80993..6809c549b4 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"