Add info syslog for cpu_wdt.service (#16678)
Why I did it Add info syslog for cpu_wdt.service when trigger watchdog arm action. How I did it Add info syslog for cpu_wdt.service when trigger watchdog arm action.
This commit is contained in:
parent
3a01ee9be8
commit
3d6389b481
@ -79,6 +79,7 @@ if [[ "${ACTION}" == "start" ]]; then
|
||||
log_info "Enable keep alive messaging every $KEEPALIVE seconds"
|
||||
while [[ ${CPUWDT_MAIN_TASK_RUNNING_FLAG} == "true" ]]; do
|
||||
watchdogutil arm -s "${TIMEOUT}" > /dev/null
|
||||
log_info "Keep alive message sent [RC=$?]. Will sleep ${KEEPALIVE} seconds."
|
||||
sleep "${KEEPALIVE}"
|
||||
done
|
||||
log_info "Keep alive messaging has been disabled"
|
||||
|
Loading…
Reference in New Issue
Block a user