diff options
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r-- | miscutils/watchdog.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index d3a76edf0..07ae64e52 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -8,6 +8,21 @@ | |||
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. | ||
22 | |||
23 | //applet:IF_WATCHDOG(APPLET(watchdog, BB_DIR_SBIN, BB_SUID_DROP)) | ||
24 | |||
25 | //kbuild:lib-$(CONFIG_WATCHDOG) += watchdog.o | ||
11 | 26 | ||
12 | //usage:#define watchdog_trivial_usage | 27 | //usage:#define watchdog_trivial_usage |
13 | //usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" | 28 | //usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" |