mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
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:
parent
3268e0d9c1
commit
b16dc1bf5a
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user