treewide: consolidate upgrade state set
[openwrt/staging/wigyori.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index a46925a43be196720186afca2903706865016387..78b75d4648e1af8d3289ce857a9f263d20f8967b 100755 (executable)
@@ -73,6 +73,7 @@ platform_check_image() {
        hc5*61|\
        hc5661a|\
        hg255d|\
+       hiwifi,hc5861b|\
        hlk-rm04|\
        hpm|\
        ht-tm02|\
@@ -288,6 +289,7 @@ platform_check_image() {
                return 0
                ;;
        dlink,dwr-116-a1|\
+       dlink,dwr-118-a2|\
        dlink,dwr-921-c1|\
        dwr-512-b)
                [ "$magic" != "0404242b" ] && {
@@ -365,9 +367,3 @@ platform_do_upgrade() {
                ;;
        esac
 }
-
-blink_led() {
-       . /etc/diag.sh; set_state upgrade
-}
-
-append sysupgrade_pre_upgrade blink_led