From 25b013a48c5028333a17745a0ee27b60488308a6 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 17 Oct 2011 12:39:39 +0200 Subject: [PATCH] Blindly load the mptctl module. Usually that's what you want when you install this package anyway though this might be a source for confusion, because you can load the mptbase and mptctl module without some mpt hardware in your system. --- mpt-status.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpt-status.init b/mpt-status.init index f9366ff..5209872 100644 --- a/mpt-status.init +++ b/mpt-status.init @@ -47,6 +47,10 @@ if [ $RUN_DAEMON = "no" ] ; then exit 0 fi + +#Try to blindly load the mptctl module +modprobe mptctl || true + if ! [ -e "/proc/mpt/version" ] ; then log_failure_msg "The mptctl module is missing." exit 0 -- 2.39.2