sanlock/modprobe-softdog-udevadm-settle.patch
2024-10-22 11:10:41 -05:00

13 lines
334 B
Diff

diff --git a/init.d/systemd-wdmd b/init.d/systemd-wdmd
index 001609736287..c358afa14af7 100644
--- a/init.d/systemd-wdmd
+++ b/init.d/systemd-wdmd
@@ -19,6 +19,7 @@ watchdog_check() {
if [ $retval -ne 0 ]; then
echo -n $"Loading the softdog kernel module: "
modprobe softdog
+ udevadm settle
watchdog_probe
retval=$?