firmware: add JBOOT based devices config extractor
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 892dfe3fbe9556869c359752d300c56cf885b1d4..d2bd860cb1285d06414fd77072bad2e896a64132 100755 (executable)
@@ -17,11 +17,13 @@ platform_check_image() {
        ai-br100|\
        air3gii|\
        alfa-network,ac1200rm|\
+       alfa-network,awusfree1|\
        all0239-3g|\
        all0256n-4M|\
        all0256n-8M|\
        all5002|\
        all5003|\
+       mediatek,ap-mt7621a-v60|\
        ar725w|\
        asl26555-8M|\
        asl26555-16M|\
@@ -61,6 +63,7 @@ platform_check_image() {
        fonera20n|\
        freestation5|\
        gb-pc1|\
+       gnubee,gb-pc2|\
        gl-mt300a|\
        gl-mt300n|\
        gl-mt750|\
@@ -140,6 +143,7 @@ platform_check_image() {
        sap-g3200u3|\
        sk-wb8|\
        sl-r7205|\
+       tama,w06|\
        tew-638apb-v2|\
        tew-691gr|\
        tew-692gr|\
@@ -244,6 +248,7 @@ platform_check_image() {
        mr200|\
        tplink,c20-v1|\
        tplink,c20-v4|\
+       tplink,c50-v3|\
        tplink,tl-mr3420-v5|\
        tl-wr840n-v4|\
        tl-wr840n-v5|\
@@ -322,17 +327,8 @@ platform_do_upgrade() {
        esac
 }
 
-disable_watchdog() {
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-
 blink_led() {
        . /etc/diag.sh; set_state upgrade
 }
 
-append sysupgrade_pre_upgrade disable_watchdog
 append sysupgrade_pre_upgrade blink_led