This commit is contained in:
Daan Hoogland 2015-04-10 15:08:01 -05:00
commit da233c7bf1
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ then
elif [ "$cflag" == "1" ]
then
/usr/bin/logger -t heartbeat "kvmheartbeat.sh rebooted system because it was unable to write the heartbeat to the storage."
sync
sync &
sleep 5
echo b > /proc/sysrq-trigger
exit $?
else