aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2016-09-29 09:18:05 +0200
committerJohn Crispin <john@phrozen.org>2016-10-04 11:50:50 +0200
commitc142df309420b153253ff739ec5511501878b5b0 (patch)
treee35599f820d1657e304c9873f79646a538f9e747 /target/linux/ar71xx/base-files
parent8689078a9b9754ae6163488aaa73959714529b6d (diff)
downloadupstream-c142df309420b153253ff739ec5511501878b5b0.tar.gz
upstream-c142df309420b153253ff739ec5511501878b5b0.tar.bz2
upstream-c142df309420b153253ff739ec5511501878b5b0.zip
ar71xx: fix LED names for GL Innovations boards
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds18
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh2
2 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index e960e88a2e..86a296ef0f 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -214,26 +214,26 @@ dlan-pro-1200-ac)
ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0"
;;
gl-ar150)
- ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:wlan" "phy0tpt"
;;
gl-ar300)
- ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan" "WLAN" "gl-ar300:wlan" "phy0tpt"
;;
gl-ar300m)
ucidef_set_led_wlan "wlan" "WLAN" "gl-ar300m:wlan" "phy0tpt"
;;
gl-domino)
- ucidef_set_led_wlan "wlan" "WLAN" "domino:blue:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan" "WLAN" "gl-domino:blue:wlan" "phy0tpt"
;;
gl-inet)
- ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
- ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
+ ucidef_set_led_netdev "lan" "LAN" "gl-inet:green:lan" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "gl-inet:red:wlan" "phy0tpt"
;;
gl-mifi)
- ucidef_set_led_netdev "wan" "WAN" "gl_mifi:wan" "eth0"
- ucidef_set_led_netdev "lan" "LAN" "gl_mifi:lan" "eth1"
- ucidef_set_led_netdev "3gnet" "3GNET" "gl_mifi:net" "3g-wan"
- ucidef_set_led_wlan "wlan" "WLAN" "gl_mifi:wlan" "phy0tpt"
+ ucidef_set_led_netdev "wan" "WAN" "gl-mifi:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "gl-mifi:lan" "eth1"
+ ucidef_set_led_netdev "3gnet" "3GNET" "gl-mifi:net" "3g-wan"
+ ucidef_set_led_wlan "wlan" "WLAN" "gl-mifi:wlan" "phy0tpt"
;;
esr900)
ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "engenius:blue:wlan-2g" "phy0tpt"
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index fd6117bc25..d6e257d637 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -144,7 +144,7 @@ get_status_led() {
status_led="belkin:blue:status"
;;
gl-inet)
- status_led="gl-connect:green:lan"
+ status_led="$board:green:lan"
;;
epg5000|\
esr1750)