#!/bin/shstatus(){service httpd statusreturn $?}while truedo status || exit 1 echo 1 >/dev/watchdog sleep 5done
To disable the watchdog 1, Stop above shell and make sure there is no other process which will write the file /dev/watchdog. 2, Execute the following command in time. [root@localhost ~] echo V >/dev/watchdog
|