diff options
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 5800aacd82..8e53848be8 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -226,6 +226,9 @@ ramips_board_detect() { *"HC5861") name="hc5861" ;; + *"HC5962") + name="hc5962" + ;; *"HG255D") name="hg255d" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 06931c8b16..e5e5eb0487 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -228,6 +228,10 @@ platform_check_image() { } return 0 ;; + hc5962) + # these boards use metadata images + return 0 + ;; ubnt-erx) nand_do_platform_check "$board" "$1" return $?; @@ -260,6 +264,7 @@ platform_pre_upgrade() { local board=$(ramips_board_name) case "$board" in + hc5962|\ ubnt-erx) nand_do_upgrade "$ARGV" ;; |