treewide: remove obsolete sysupgrade watchdog kill
[openwrt/staging/dedeckeh.git] / target / linux / apm821xx / base-files / lib / upgrade / platform.sh
index 5d2eee4ca35ea9fbd990f0247e691875f30618bb..a45af7d0540c998847ce6318ee6ac2e266ab8445 100755 (executable)
@@ -61,13 +61,3 @@ platform_copy_config() {
                ;;
        esac
 }
-
-disable_watchdog() {
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog