summaryrefslogtreecommitdiffhomepage
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r--miscutils/watchdog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index d3a76edf0..7a743ef1b 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -8,6 +8,17 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//config:config WATCHDOG
+//config: bool "watchdog"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: The watchdog utility is used with hardware or software watchdog
+//config: device drivers. It opens the specified watchdog device special file
+//config: and periodically writes a magic character to the device. If the
+//config: watchdog applet ever fails to write the magic character within a
+//config: certain amount of time, the watchdog device assumes the system has
+//config: hung, and will cause the hardware to reboot.
//usage:#define watchdog_trivial_usage
//usage: "[-t N[ms]] [-T N[ms]] [-F] DEV"