From b8b497e3da97283442885b54bb7c1367210bf43b Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Thu, 20 Feb 2025 12:53:49 +0100 Subject: [PATCH] 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) --- man/systemd-system.conf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3