mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 04:50:16 +02:00
ramips: disable watchdog on sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27380 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7807b0552e
commit
9589c35dd3
@ -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