From: John Crispin Date: Thu, 9 Apr 2015 10:32:08 +0000 (+0000) Subject: ar71xx: enable LEDs on Hornet-UB X2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f92e94a74470b9bdc91328a58ecfbb242769284;p=openwrt%2Fstaging%2Fansuel.git 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 SVN-Revision: 45328 --- 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"