From e4e6fd8b454c11a4663b6c7afacad0ed4008a0cb Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 21 Oct 2020 01:21:27 -0500 Subject: Tweak watchdog help. --- toys/other/watchdog.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'toys/other') diff --git a/toys/other/watchdog.c b/toys/other/watchdog.c index 7a49c0b0..a2e4fa01 100644 --- a/toys/other/watchdog.c +++ b/toys/other/watchdog.c @@ -11,14 +11,15 @@ config WATCHDOG default y depends on TOYBOX_FORK help - usage: watchdog [-F] [-t SW_TIMER_S] [-T HW_TIMER_S] DEV + usage: watchdog [-F] [-t UPDATE] [-T DEADLINE] DEV Start the watchdog timer at DEV with optional timeout parameters. -F run in the foreground (do not daemonize) - -t software timer (in seconds) - -T hardware timer (in seconds) + -t poke watchdog every UPDATE seconds (default 4) + -T reboot if not poked for DEADLINE seconds (default 60) */ + #define FOR_watchdog #include "toys.h" #include "linux/watchdog.h" -- cgit v1.2.3