aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-04-21 02:47:44 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-04-21 02:55:36 +0200
commitc6fe325587b1955f84c339a2ae17da28dc4e6bec (patch)
tree88059beb3757ef80b2e4c9002c8e468feb1a9fc7 /target/linux/ramips/base-files/lib
parentc5a7dc49d11810838af9eafdddadf92a3b8218aa (diff)
downloadupstream-c6fe325587b1955f84c339a2ae17da28dc4e6bec.tar.gz
upstream-c6fe325587b1955f84c339a2ae17da28dc4e6bec.tar.bz2
upstream-c6fe325587b1955f84c339a2ae17da28dc4e6bec.zip
ramips: rename PSG1218 to match label
Fix previous commit to be less ambigous: PSG1218 rev.A = 5 ports, external PA, heatsinks PSG1218 rev.B = 4 ports, internal PA, no heatsinks Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh8
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh4
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index a75f5208a3..7630166b89 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -397,11 +397,11 @@ ramips_board_detect() {
*"PSG1208")
name="psg1208"
;;
- *"PSG1218")
- name="psg1218"
+ *"PSG1218 rev.A")
+ name="psg1218a"
;;
- *"PSG1218K2C")
- name="psg1218k2c"
+ *"PSG1218 rev.B")
+ name="psg1218b"
;;
*"PSR-680W"*)
name="psr-680w"
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 827109b59e..d0dd28e73f 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -112,8 +112,8 @@ platform_check_image() {
pbr-d1|\
pbr-m1|\
psg1208|\
- psg1218|\
- psg1218k2c|\
+ psg1218a|\
+ psg1218b|\
psr-680w|\
px-4885|\
rb750gr3|\