quiet modprobe and update for 6.3
This commit is contained in:
parent
27cc234b0d
commit
142b62797f
@ -3,7 +3,7 @@
|
||||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "ipmi">
|
||||
<!ENTITY author "dmacias72">
|
||||
<!ENTITY version "2016.10.07a">
|
||||
<!ENTITY version "2016.10.09">
|
||||
<!ENTITY launch "Settings/IPMI">
|
||||
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
|
||||
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
||||
@ -16,6 +16,9 @@
|
||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
||||
|
||||
<CHANGES>
|
||||
###2016.10.09
|
||||
- quiet modprobe
|
||||
- update for min/max and 6.3
|
||||
###2016.10.07a
|
||||
- fix: add padding to single digit percentage for fan log
|
||||
###2016.10.07
|
||||
@ -199,16 +202,16 @@ The 'tablesorter' package file.
|
||||
This plugin uses freeipmi to display sensor readings
|
||||
-->
|
||||
|
||||
<FILE Name="&plgPATH;/freeipmi-1.4.11-x86_64-3.txz">
|
||||
<URL>&pkgURL;/freeipmi-1.4.11-x86_64-3.txz</URL>
|
||||
<MD5>6c7839886f7c7b0cc4947aaf6199d60e</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="&plgPATH;/freeipmi-1.5.3-x86_64-1.txz">
|
||||
<FILE Name="&plgPATH;/freeipmi-1.5.3-x86_64-1.txz" Min="6.2" Run="/sbin/upgradepkg --install-new">
|
||||
<URL>&pkgURL;/freeipmi-1.5.3-x86_64-1.txz</URL>
|
||||
<MD5>1aa566b9a1c0561b82f27118ee3d8f14</MD5>
|
||||
</FILE>
|
||||
|
||||
<FILE Name="&plgPATH;/freeipmi-1.4.11-x86_64-3.txz" Max="6.1" Run="/sbin/upgradepkg --install-new">
|
||||
<URL>&pkgURL;/freeipmi-1.4.11-x86_64-3.txz</URL>
|
||||
<MD5>6c7839886f7c7b0cc4947aaf6199d60e</MD5>
|
||||
</FILE>
|
||||
|
||||
<!--
|
||||
The 'plugin' config file.
|
||||
-->
|
||||
@ -284,35 +287,29 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
||||
&plgPATH;/&plgNAME;.md5
|
||||
exit 1
|
||||
else
|
||||
if [[ $VER == 6.1 ]]; then
|
||||
echo "\nInstalling dependencies for unRAID 6.1"
|
||||
upgradepkg --install-new &plgPATH;/freeipmi-1.4.11-x86_64-3.txz
|
||||
fi
|
||||
|
||||
if [[ $VER == 6.2 ]]; then
|
||||
echo "\nInstalling dependencies for unRAID 6.2"
|
||||
upgradepkg --install-new &plgPATH;/freeipmi-1.5.3-x86_64-1.txz
|
||||
fi
|
||||
|
||||
if [[ $VER == 6.3 ]]; then
|
||||
echo "\nInstalling dependencies for unRAID 6.3"
|
||||
upgradepkg --install-new &plgPATH;/freeipmi-1.5.3-x86_64-1.txz
|
||||
fi
|
||||
|
||||
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
||||
|
||||
# Load impi drivers
|
||||
echo "checking ipmi drivers..."
|
||||
for module in ipmi_msghandler ipmi_devintf ipmi_si; do
|
||||
modprobe $module
|
||||
done
|
||||
|
||||
if [ -e "/boot/config/plugins/ipmi/boards.json" ]; then
|
||||
mv &plgPATH;/boards.json &plgPATH;/board.json
|
||||
fi
|
||||
|
||||
# Start scripts if enabled
|
||||
|
||||
CONFIG=&plgPATH;/&name;.cfg
|
||||
|
||||
<![CDATA[
|
||||
[ -e "$CONFIG" ] && source "$CONFIG"
|
||||
|
||||
if [ [ "$NETWORK" == "disable" ] || [ "$NETWORK" == "enable" && "$LOCAL" == "enable" ] ]; then
|
||||
# Load impi drivers
|
||||
echo "loading ipmi drivers..."
|
||||
for module in ipmi_msghandler ipmi_devintf ipmi_si; do
|
||||
modprobe -q $module > /dev/null 2>&1
|
||||
done
|
||||
fi
|
||||
|
||||
# Start scripts if enabled
|
||||
echo "checking ipmi event monitor..."
|
||||
/etc/rc.d/rc.ipmiseld start >/dev/null 2>&1 < /dev/null &
|
||||
sleep 1
|
||||
|
@ -11,8 +11,10 @@ The ipmi plugin allows you to view your system sensors and events using your ipm
|
||||
</Description>
|
||||
<Support>http://lime-technology.com/forum/index.php?topic=39787.0</Support>
|
||||
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/ipmi.png</Icon>
|
||||
<Date>2016-10-07</Date>
|
||||
<Date>2016-10-09</Date>
|
||||
<Changes>
|
||||
###2016.10.09
|
||||
- update for min/max and 6.3
|
||||
###2016.10.07a
|
||||
- fix: add padding to single digit percentage for ###2016.10.07
|
||||
- fix: fan page showing config missing for fan ###2016.10.06a
|
||||
|
Loading…
Reference in New Issue
Block a user