treewide: remove obsolete sysupgrade watchdog kill
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index ab538db108c186c5f4433353dee9e3aa0fb13575..fd0198263e92ab5aca80965fc112e43a1933cd7c 100755 (executable)
@@ -324,17 +324,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