mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-04 13:04:22 +00:00
ramips: disable watchdog on sysupgrade
SVN-Revision: 27380
This commit is contained in:
parent
e70e6f6848
commit
c9f3e7082f
@ -36,3 +36,13 @@ platform_do_upgrade() {
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user