From fb8ec603775cd2e077551dd1bc4dd65ed5878e4e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 9 Apr 2015 10:32:08 +0000 Subject: [PATCH] ar71xx: enable LEDs on Hornet-UB X2 None of the LEDs are enabled by default on the Hornet-UB X2 board (the 16/64MB version of the Hornet-UB), because it uses a different board-name ("hornet-ub-x2"); but hornet-ub and hornet-ub-x2 boards are equivalent WRT their LEDs. SIgned-off-by: Joshua Judson Rosen git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45328 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 14ff625d61..52a73ee738 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -95,7 +95,8 @@ get_status_led() { hiwifi-hc6361) status_led="hiwifi:blue:system" ;; - hornet-ub) + hornet-ub | \ + hornet-ub-x2) status_led="alfa:blue:wps" ;; ja76pf | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index e18c2bc78b..787523a3d6 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -164,7 +164,8 @@ hiwifi-hc6361) ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt" ;; -hornet-ub) +hornet-ub | \ +hornet-ub-x2) ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0" ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt" -- 2.35.1