diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 15 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 eff6e0d451..cfe5f1d739 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -394,6 +394,11 @@ om5p-an) ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1" ;; +omy-x1) + ucidef_set_led_default "power" "POWER" "omy:green:power" "1" + ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0" + ;; + qihoo-c301) ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt" ;; diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d083a799fa..a2251d1c15 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -214,6 +214,9 @@ get_status_led() { om5p-an) status_led="om5p:blue:power" ;; + omy-x1) + status_led="omy:green:power" + ;; onion-omega) status_led="onion:amber:system" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 46f1685647..199379e9fa 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -123,6 +123,9 @@ tplink_board_detect() { "007260"*) model="TellStick ZNet Lite" ;; + "066602"*) + model="OMYlink OMY-X1" + ;; "3C0001"*) model="OOLITE" ;; @@ -632,6 +635,9 @@ ar71xx_board_detect() { *"OM5P AN") name="om5p-an" ;; + *"OMY-X1") + name="omy-x1" + ;; *"Onion Omega") name="onion-omega" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d41081942a..1d3695f372 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -333,6 +333,7 @@ platform_check_image() { gl-inet | \ mc-mac1200r | \ minibox-v1 |\ + omy-x1 |\ onion-omega | \ oolite | \ smart-300 | \ |