diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 23:32:28 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 23:32:28 +0200 |
commit | 55adddbc16f65732b57ab8585c47001fced91d77 (patch) | |
tree | 27e8239d48c8a6b353db356aff92ee4d225c0a0e /scripts/ipmi.init.basic | |
parent | d3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (diff) |
Imported Upstream version 2.9.9upstream/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}') |