diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-07-14 16:03:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-07-14 16:03:35 +0000 |
commit | 287298b93590ae4ecc0539c46e39622474af360b (patch) | |
tree | 72da034d7e6100ccc6538544a56f177f636c4db7 /target/linux/ar71xx/base-files/etc | |
parent | cb4dbb1eb690288134a68c4a2ccc77ca490764dd (diff) | |
download | upstream-287298b93590ae4ecc0539c46e39622474af360b.tar.gz upstream-287298b93590ae4ecc0539c46e39622474af360b.tar.bz2 upstream-287298b93590ae4ecc0539c46e39622474af360b.zip |
ar71xx: add user-space support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41650 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 9 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index af3439f8b9..174684d0ae 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -217,6 +217,9 @@ get_status_led() { tl-wr2543n) status_led="tp-link:green:wps" ;; + tube2h) + status_led="alfa:green:signal4" + ;; unifi) status_led="ubnt:green:dome" ;; 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 34fed026b5..ccfc846af4 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -348,6 +348,15 @@ tl-wr2543n) ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1" ;; +tube2h) + ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0" + ucidef_set_rssimon "wlan0" "40000" "1" + ucidef_set_led_rssi "signal1" "SIGNAL1" "alfa:red:signal1" "wlan0" "1" "100" "0" "13" + ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13" + ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13" + ucidef_set_led_rssi "signal4" "SIGNAL4" "alfa:green:signal4" "wlan0" "76" "100" "-75" "13" + ;; + wrt160nl) ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index d4fb5770ce..8dd04d4ef4 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -300,6 +300,7 @@ tl-wa901nd |\ tl-wa901nd-v2 |\ tl-wa901nd-v3 |\ tl-wr703n |\ +tube2h |\ wndap360 |\ mynet-rext |\ wp543) |