]> git.sven.stormbind.net Git - sven/mpt-status.git/commitdiff
Blindly load the mptctl module.
authorSven Hoexter <sven@timegate.de>
Mon, 17 Oct 2011 10:39:39 +0000 (12:39 +0200)
committerSven Hoexter <sven@timegate.de>
Mon, 17 Oct 2011 10:39:39 +0000 (12:39 +0200)
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

index f9366ffef58d8dc3419ac414f3fc7ca8506d274a..5209872c8f779c5b6fc2a795855a09accc7cf0ea 100644 (file)
@@ -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