summaryrefslogtreecommitdiff
path: root/scripts/ipmi.init.basic
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
commit55adddbc16f65732b57ab8585c47001fced91d77 (patch)
tree27e8239d48c8a6b353db356aff92ee4d225c0a0e /scripts/ipmi.init.basic
parentd3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (diff)
Imported Upstream version 2.9.9upstream/2.9.9
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}')