summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 06:01:06 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 06:01:06 +0000
commit2fe5cf2bd691b94a54651f95ea541194d6a4367c (patch)
tree0dccea4584b2e3dcd85ac1ad06de1d22d2e01dd5 /target/linux/ramips/base-files
parente4b6dcee5e7c67a11a417c04790ac22bb287aa58 (diff)
downloadmtk-20170518-2fe5cf2bd691b94a54651f95ea541194d6a4367c.zip
mtk-20170518-2fe5cf2bd691b94a54651f95ea541194d6a4367c.tar.gz
mtk-20170518-2fe5cf2bd691b94a54651f95ea541194d6a4367c.tar.bz2
ramips: fix 7Links PX-4885 dts{, i}, board, image and profile names
The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from "PX4885" to "PX-4885" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46629
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds6
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
4 files changed, 7 insertions, 7 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 19e79a8..1456be1 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -175,9 +175,9 @@ case $board in
set_wifi_led "miniembplug:green:wlan"
set_usb_led "miniembplug:green:mobile"
;;
- px4885)
- set_wifi_led "7links:orange:wifi"
- set_usb_led "7links:blue:storage"
+ px-4885)
+ set_wifi_led "px-4885:orange:wifi"
+ set_usb_led "px-4885:blue:storage"
;;
pbr-m1)
ucidef_set_led_netdev "internet" "internet" "pbr-m1:green:internet" "eth0.2"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c8014bf..f63cf31 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -134,8 +134,8 @@ get_status_led() {
pwh2004)
status_led="pwh2004:green:power"
;;
- px4885)
- status_led="7links:orange:wifi"
+ px-4885)
+ status_led="px-4885:orange:wifi"
;;
re6500)
status_led="linksys:orange:wifi"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 98bd094..9e7e73f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -14,7 +14,7 @@ ramips_board_detect() {
case "$machine" in
*"7Links PX-4885")
- name="px4885"
+ name="px-4885"
;;
*"8devices Carambola")
name="carambola"
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index e347d6f..b5e0f5f 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -80,7 +80,7 @@ platform_check_image() {
rt5350f-olinuxino | \
rt5350f-olinuxino-evb | \
psr-680w | \
- px4885 | \
+ px-4885 | \
re6500 | \
rp-n53 | \
rt-g32-b1 | \