[openwrt/openwrt] ipq40xx: add WAN LED mapping for GL-AP1300
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 11 06:54:59 PDT 2022
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/b317d3dbfbd283cacf22fc1d181f8a4cc4f36000
commit b317d3dbfbd283cacf22fc1d181f8a4cc4f36000
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Sep 10 14:05:34 2022 +0200
ipq40xx: add WAN LED mapping for GL-AP1300
Signed-off-by: David Bauer <mail at david-bauer.net>
(cherry picked from commit 4d014a7bd6d8fbfe7dc4cebd6c55d85601231fa4)
---
target/linux/ipq40xx/base-files/etc/board.d/01_leds | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
index 884b265dcb..0e473534f5 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
@@ -52,6 +52,9 @@ engenius,ens620ext)
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0"
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
;;
+glinet,gl-ap1300)
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ;;
mikrotik,cap-ac)
ucidef_set_led_default "power" "POWER" "blue:power" "1"
ucidef_set_led_default "user" "USER" "green:user" "0"
More information about the lede-commits
mailing list