From: Ahmad Fatoum Date: Thu, 20 Feb 2025 11:53:49 +0000 (+0100) Subject: man: fix typo in systemd.watchdog_device kernel option X-Git-Tag: v257.4~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8b497e3da97283442885b54bb7c1367210bf43b;p=thirdparty%2Fsystemd.git man: fix typo in systemd.watchdog_device kernel option The option that systemd actually looks for has an underscore and no dash as can be seen in src/core/main.c. The man/kernel-command-line.xml documentation also gets it right with this file being the only instance of watchdog-device being used. Fixes: c75396c30bd9 ("documentation: add description for watchdog device path") Signed-off-by: Ahmad Fatoum (cherry picked from commit 6f8a9d0917d6fe42c674466bffead9ac19db98e9) --- diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index 580da9d75f5..144bbfe1530 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -353,7 +353,7 @@ If RuntimeWatchdogSec= is set to a non-zero value, the watchdog hardware (/dev/watchdog0 or the path specified with WatchdogDevice= or - the kernel option systemd.watchdog-device=) will be programmed to automatically + the kernel option systemd.watchdog_device=) will be programmed to automatically reboot the system if it is not contacted within the specified timeout interval. The system manager will ensure to contact it at least once in half the specified timeout interval. This feature requires a hardware watchdog device to be present, as it is commonly the case in embedded and server