Fix for Tracker Bug #1642710 - ipmi_kcs_drv being loaded/unloaded for 2.4 kernels instead of the correct driver ipmi_si_drv

This commit is contained in:
Carol Hebert 2009-02-05 00:39:07 +00:00
parent 3268e0d9c1
commit b16dc1bf5a
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ echo "Setting up OpenIPMI driver..."
# load the ipmi modules
modprobe ipmi_msghandler
modprobe ipmi_devintf
if ! modprobe ipmi_kcs_drv ; then
if ! modprobe ipmi_si_drv ; then
modprobe ipmi_si # try new module name
fi

View File

@ -38,7 +38,7 @@ start() {
# module if that fails.
if ! /sbin/modprobe ipmi_si >/dev/null 2>&1
then
/sbin/modprobe ipmi_kcs_drv || RETVAL=1
/sbin/modprobe ipmi_si_drv || RETVAL=1
fi
fi
@ -173,7 +173,7 @@ remove () {
then
# Try removing both 2.4 and 2.6 modules.
/sbin/rmmod ipmi_si 2>/dev/null
/sbin/rmmod ipmi_kcs_drv 2>/dev/null
/sbin/rmmod ipmi_si_drv 2>/dev/null
/sbin/rmmod ipmi_devintf
/sbin/rmmod ipmi_msghandler
else