ar71xx: enable LEDs on Hornet-UB X2
authorJohn Crispin <john@openwrt.org>
Thu, 9 Apr 2015 10:32:08 +0000 (10:32 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 9 Apr 2015 10:32:08 +0000 (10:32 +0000)
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 <jrosen@harvestai.com>
SVN-Revision: 45328

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

index 14ff625d614dbbf4ba28d1ec650ee4a1941885eb..52a73ee7386dc0b66b5fba1f227856f8f6481da5 100644 (file)
@@ -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 | \
index e18c2bc78b0acd12655967f174bd2b9f87290faa..787523a3d6f399cddf9ccd361e23683e30f53e6d 100644 (file)
@@ -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"