summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib
diff options
context:
space:
mode:
authorMilton Miller <miltonm@us.ibm.com>2017-07-20 22:05:26 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-08-28 19:59:24 +0300
commit589ebdf3abb10ee55a0acb7364d9a0d8d434dbc5 (patch)
tree33bbcc6ab99cf3802ec89275a95e23f3db81d56f /meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib
parentaedc8fed04d909f32a7ebe4f1ad92dc54b79bbf4 (diff)
downloadopenbmc-589ebdf3abb10ee55a0acb7364d9a0d8d434dbc5.tar.xz
obmc-initfs shutdown: ping watchdog watchdog during flash update
Add code to start a watchdog daemon before calling the update script as erasing the flash can take over 10 minutes. This allows us to reduce the shutdown timeout to a much more useful value. The code kills the watchdog after the update script returns and also resets the timeout to a different value by invoking and killing the watchdog command a second time. Tested with the following code added before the reboot -f code and changing the timoeuts: while : do let count=$count+1 echo -ne "\rloop $count" usleep 100 done Change-Id: Ibe2337339af67421733230b6a5b6df962618a00a Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib')
0 files changed, 0 insertions, 0 deletions