diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 23:32:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 23:32:29 +0200 |
commit | 38d4a182b7ccc4a683c1f9bcbe1da7779cc14832 (patch) | |
tree | 974665e1baf08a8ad70f2fbad970102bd1e7a8c8 /scripts/ipmi.init.basic | |
parent | 69786de63e325b2f4d9f1afc49b30dcf091b5220 (diff) | |
parent | 55adddbc16f65732b57ab8585c47001fced91d77 (diff) |
Merge tag 'upstream/2.9.9'
Upstream version 2.9.9
Diffstat (limited to 'scripts/ipmi.init.basic')
-rwxr-xr-x | scripts/ipmi.init.basic | 6 |
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}') |