diff options
author | John Crispin <blogic@openwrt.org> | 2015-08-17 06:00:11 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-08-17 06:00:11 +0000 |
commit | 5c8cc5f9aaa7300753ec7c2459fe9ec24199e670 (patch) | |
tree | 4a56d25cc7624435a2ac619ecdcbd549a451a36c /target/linux/ramips/base-files/etc | |
parent | 5fb15db41e60564901dbefb223a28e2bdb285e20 (diff) | |
download | master-187ad058-5c8cc5f9aaa7300753ec7c2459fe9ec24199e670.tar.gz master-187ad058-5c8cc5f9aaa7300753ec7c2459fe9ec24199e670.tar.bz2 master-187ad058-5c8cc5f9aaa7300753ec7c2459fe9ec24199e670.zip |
ramips: fix Omnima models, images and profiles names
Official names for supported Omnima products are (as on website):
* Omnima HPM
* Omnima MiniEMBWiFi
* Omnima MiniEMBPlug
This patch changes:
* board names
* dts filenames
* profile names
* image filenames
* LED names
for Omnima devices, for consistency.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46627 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 16 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 8 |
3 files changed, 14 insertions, 12 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 1ae4510b4c..19e79a8875 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -166,14 +166,14 @@ case $board in set_wifi_led "m2m:blue:wifi" ucidef_set_led_netdev "eth" "Ethernet" "m2m:green:wan" "eth0" ;; - omni-emb-hpm) - ucidef_set_led_default "power" "POWER" "emb:orange:power" "1" - ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0" - set_wifi_led "emb:green:wifi" - ;; - omni-plug) - set_wifi_led "miniplug:green:wlan" - set_usb_led "miniplug:green:mobile" + hpm) + ucidef_set_led_default "power" "POWER" "hpm:orange:power" "1" + ucidef_set_led_netdev "eth" "ETH" "hpm:green:eth" "eth0" + set_wifi_led "hpm:green:wifi" + ;; + miniembplug) + set_wifi_led "miniembplug:green:wlan" + set_usb_led "miniembplug:green:mobile" ;; px4885) set_wifi_led "7links:orange:wifi" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 8f6c813b20..0fab232aa9 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -243,7 +243,7 @@ ramips_setup_interfaces() ;; d105 | \ na930 | \ - omni-emb-hpm|\ + hpm|\ wli-tx4-ag300n) ucidef_set_interface_lan "eth0" ;; diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 712e93cdbd..e7499a8967 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -119,9 +119,11 @@ get_status_led() { nw718) status_led="nw718:amber:cpu" ;; - omni-emb|\ - omni-emb-hpm) - status_led="emb:green:status" + miniembwifi) + status_led="miniembwifi:green:status" + ;; + hpm) + status_led="hpm:green:status" ;; pbr-m1) status_led="pbr-m1:green:sys" |