|
@@ -37,7 +37,7 @@ activates as soon as /dev/watchdog is opened and will reboot unless
|
|
|
the watchdog is pinged within a certain time, this time is called the
|
|
|
timeout or margin. The simplest way to ping the watchdog is to write
|
|
|
some data to the device. So a very simple watchdog daemon would look
|
|
|
-like this source file: see Documentation/watchdog/src/watchdog-simple.c
|
|
|
+like this source file: see samples/watchdog/watchdog-simple.c
|
|
|
|
|
|
A more advanced driver could for example check that a HTTP server is
|
|
|
still responding before doing the write call to ping the watchdog.
|