aboutsummaryrefslogtreecommitdiff
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
commitfb4da167114e96d7f20ef97474f976f8ffa604e7 (patch)
tree6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/watchdog.c
parent9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff)
downloadbusybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.gz
busybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.bz2
busybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.zip
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 d3a76edf0..7a743ef1b 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -8,6 +8,17 @@
8 * 8 *
9 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 9 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
10 */ 10 */
11//config:config WATCHDOG
12//config: bool "watchdog"
13//config: default y
14//config: select PLATFORM_LINUX
15//config: help
16//config: The watchdog utility is used with hardware or software watchdog
17//config: device drivers. It opens the specified watchdog device special file
18//config: and periodically writes a magic character to the device. If the
19//config: watchdog applet ever fails to write the magic character within a
20//config: certain amount of time, the watchdog device assumes the system has
21//config: hung, and will cause the hardware to reboot.
11 22
12//usage:#define watchdog_trivial_usage 23//usage:#define watchdog_trivial_usage
13//usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" 24//usage: "[-t N[ms]] [-T N[ms]] [-F] DEV"