Signed-off-by: Federico Simoncelli <fsimonce(a)redhat.com>
---
init.d/wdmd | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/init.d/wdmd b/init.d/wdmd
index 9ec7b8c..19fc3ae 100644
--- a/init.d/wdmd
+++ b/init.d/wdmd
@@ -39,6 +39,13 @@ start() {
[ -x /sbin/restorecon ] && restorecon /var/run/$prog
fi
+ if [ ! -c /dev/watchdog ]; then
+ echo -n $"Loading the softdog kernel module: "
+ modprobe softdog && udevadm settle
+ [ -c /dev/watchdog ] && success || failure
+ echo
+ fi
+
echo -n $"Starting $prog: "
daemon $prog $WDMDOPTS
retval=$?
--
1.7.1