summaryrefslogtreecommitdiff
path: root/scripts/ipmi.init.basic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ipmi.init.basic')
-rwxr-xr-xscripts/ipmi.init.basic6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/ipmi.init.basic b/scripts/ipmi.init.basic
index f12c743..bff8e55 100755
--- a/scripts/ipmi.init.basic
+++ b/scripts/ipmi.init.basic
@@ -40,7 +40,11 @@ start() {
fi
fi
modprobe ipmi_devintf
- modprobe ipmi_watchdog 2>/dev/null
+ # do not start ipmi_watchdog for Supermicro
+ dmidecode |grep -A1 'Base Board' |grep -q -i Supermicro
+ if [ $? -ne 0 ]; then
+ modprobe ipmi_watchdog 2>/dev/null
+ fi
fi
maj=$(cat /proc/devices | awk '/ipmidev/{print $1}')