diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2016-08-09 16:06:45 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-02-14 12:18:05 +0100 |
commit | 174605c467593c4adb45f833d2d98135596d0883 (patch) | |
tree | 1b7cccb3617b05d582a711821ae4938d4982f928 /target/linux/ar71xx/base-files/etc | |
parent | 417f9e7e82528573414d63b3f3d0f0e23a1a75c2 (diff) | |
download | upstream-174605c467593c4adb45f833d2d98135596d0883.tar.gz upstream-174605c467593c4adb45f833d2d98135596d0883.tar.bz2 upstream-174605c467593c4adb45f833d2d98135596d0883.zip |
ar71xx: add user-space support for the OpenMesh A60
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
3 files changed, 8 insertions, 0 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 b0aa7c2b24..c2737bd460 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -11,6 +11,10 @@ board_config_update board=$(ar71xx_board_name) case "$board" in +a60) + ucidef_set_led_default "status-red" "Status (red)" "a60:red:status" "0" + ucidef_set_led_default "status-blue" "Status (blue)" "a60:blue:status" "0" + ;; airgateway|\ airgatewaypro) ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 0687b29208..92c2af7978 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -120,6 +120,7 @@ ar71xx_setup_interfaces() wp543) ucidef_set_interface_lan "eth0" ;; + a60|\ alfa-ap96|\ alfa-nx|\ gl-ar150|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 17b324d65e..871a12b9bd 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -8,6 +8,9 @@ get_status_led() { local board=$(ar71xx_board_name) case $board in + a60) + status_led="a60:green:status" + ;; alfa-nx) status_led="alfa:green:led_8" ;; |