From: Lech Perczak Date: Thu, 30 Jan 2020 23:47:16 +0000 (+0100) Subject: ath79: add LED trigger for TL-WR902AC v1 WAN LED X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52a0bd33341e11ffbd5b087b4ceb52ca754de8ba;p=oweals%2Fopenwrt.git ath79: add LED trigger for TL-WR902AC v1 WAN LED Inspired by commit c48b571ad708, add an LED trigger for the WAN LED on top of the TP-Link TL-WR902AC v1. Currently, only the LED on the port itself shows the link state, while the LED on top of the device stays dark. The WAN port of the device is a hybrid LAN/WAN one, hence why the LED at the port was labeled LAN. Signed-off-by: Lech Perczak --- diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 55d6772525..946d7306c3 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -219,6 +219,7 @@ tplink,cpe510-v3) tplink,cpe610-v1|\ tplink,tl-wr902ac-v1) ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0" + ucidef_set_led_netdev "internet" "Internet" "tp-link:green:internet" "eth0" ;; tplink,re355-v1|\ tplink,re450-v1|\