X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=0b9dd43791c1f0a364e470ae5cf341914e4e791a;hb=ba89cd525e90f57f3258ef63365a385f5ba72c20;hp=2f6c6246ab5a7e2b7e57861edc83665b9cd679db;hpb=d52cdbf2cf46cef07fb03233e3e328632cfb0fa0;p=openwrt.git diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2f6c6246ab..0b9dd43791 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -55,12 +55,15 @@ platform_check_image() { firewrt|\ fonera20n|\ freestation5|\ + hc5*61|\ hg255d|\ hlk-rm04|\ hpm|\ ht-tm02|\ hw550-3g|\ ip2202|\ + linkits7688|\ + linkits7688d|\ m2m|\ m3|\ m4|\ @@ -97,6 +100,7 @@ platform_check_image() { sl-r7205|\ tew-691gr|\ tew-692gr|\ + tiny-ac|\ ur-326n4g|\ ur-336un|\ v22rw-2x2|\ @@ -128,8 +132,10 @@ platform_check_image() { y1|\ y1s|\ zbt-wa05|\ + zbt-wg2626|\ zbt-wr8305rt|\ - zte-q7) + zte-q7|\ + youku-yk1) [ "$magic" != "27051956" ] && { echo "Invalid image type." return 1 @@ -198,4 +204,9 @@ disable_watchdog() { } } +blink_led() { + . /etc/diag.sh; set_state upgrade +} + append sysupgrade_pre_upgrade disable_watchdog +append sysupgrade_pre_upgrade blink_led