aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 65522b23fd..c71ffc0321 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -25,8 +25,8 @@ platform_nand_pre_upgrade() {
local board=$(board_name)
case "$board" in
- ubnt-erx|\
- ubnt-erx-sfp)
+ ubiquiti,edgerouterx|\
+ ubiquiti,edgerouterx-sfp)
platform_upgrade_ubnt_erx "$ARGV"
;;
esac
@@ -36,11 +36,11 @@ platform_do_upgrade() {
local board=$(board_name)
case "$board" in
- hc5962|\
- r6220|\
+ hiwifi,hc5962|\
+ netgear,r6220|\
netgear,r6350|\
- ubnt-erx|\
- ubnt-erx-sfp|\
+ ubiquiti,edgerouterx|\
+ ubiquiti,edgerouterx-sfp|\
xiaomi,mir3g|\
xiaomi,mir3p)
nand_do_upgrade "$ARGV"