]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Add WatchdogDevice config option and implement it
authorEdward A. James <eajames@us.ibm.com>
Fri, 8 Dec 2017 17:26:44 +0000 (11:26 -0600)
committerEdward A. James <eajames@us.ibm.com>
Fri, 8 Dec 2017 17:26:44 +0000 (11:26 -0600)
commit8a2c1fbfc377b20032ebc4cc287dda848554d61b
tree526c7ff7b4178fe31734694cdc80d0f3d2d4fb7f
parente4c98db335673dcbd7cff3add516db92861302b2
core: Add WatchdogDevice config option and implement it

This option allows a device path to be specified for the systemd
watchdog (both runtime and shutdown).

If a system requires a watchdog other than /dev/watchdog (pointing to
/dev/watchdog0) to be used to reboot the system, this setting should be
changed to the relevant watchdog device path (e.g. /dev/watchdog1).
src/core/main.c
src/core/shutdown.c