Skip to content
Snippets Groups Projects
Commit c9f3e708 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ramips: disable watchdog on sysupgrade

SVN-Revision: 27380
parent e70e6f68
Branches
Tags
No related merge requests found
......@@ -36,3 +36,13 @@ platform_do_upgrade() {
;;
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment