treewide: remove obsolete sysupgrade watchdog kill
[openwrt/openwrt.git] / target / linux / oxnas / base-files / lib / upgrade / platform.sh
index 6652e14f19df8b298bfc5aefcb4a8672152f1954..8c2e34762acb64ee53ade52f18fe581103f2718c 100644 (file)
@@ -16,13 +16,3 @@ platform_check_image() {
 platform_pre_upgrade() {
        nand_do_upgrade $1
 }
-
-disable_watchdog() {
-       killall watchdog
-       ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
-               echo 'Could not disable watchdog'
-               return 1
-       }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog