diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /miscutils/watchdog.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r-- | miscutils/watchdog.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 630782660..b24dd4b82 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -9,6 +9,17 @@ | |||
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 | 11 | ||
12 | //usage:#define watchdog_trivial_usage | ||
13 | //usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" | ||
14 | //usage:#define watchdog_full_usage "\n\n" | ||
15 | //usage: "Periodically write to watchdog device DEV\n" | ||
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -T N Reboot after N seconds if not reset (default 60)" | ||
18 | //usage: "\n -t N Reset every N seconds (default 30)" | ||
19 | //usage: "\n -F Run in foreground" | ||
20 | //usage: "\n" | ||
21 | //usage: "\nUse 500ms to specify period in milliseconds" | ||
22 | |||
12 | #include "libbb.h" | 23 | #include "libbb.h" |
13 | #include "linux/types.h" /* for __u32 */ | 24 | #include "linux/types.h" /* for __u32 */ |
14 | #include "linux/watchdog.h" | 25 | #include "linux/watchdog.h" |