summaryrefslogtreecommitdiff
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-22 23:14:24 +0100
committerDenys Vlasenko2016-11-22 23:14:24 +0100
commitfb4da167114e96d7f20ef97474f976f8ffa604e7 (patch)
tree6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/watchdog.c
parent9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff)
downloadbusybox-fb4da167114e96d7f20ef97474f976f8ffa604e7.zip
busybox-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.gz
Split miscutils/Config.src items into miscutils/*.c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 d3a76ed..7a743ef 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"