update old package removal
This commit is contained in:
parent
69c91fcd40
commit
ab3f078566
|
@ -3,7 +3,7 @@
|
||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "ipmitool-plugin">
|
<!ENTITY name "ipmitool-plugin">
|
||||||
<!ENTITY author "dmacias72">
|
<!ENTITY author "dmacias72">
|
||||||
<!ENTITY version "2015.12.11">
|
<!ENTITY version "2015.12.13">
|
||||||
<!ENTITY launch "Tools/IPMItool">
|
<!ENTITY launch "Tools/IPMItool">
|
||||||
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
|
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
|
||||||
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
||||||
|
@ -18,6 +18,8 @@
|
||||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
|
###2015.12.13
|
||||||
|
- make sure and remove old plugin
|
||||||
###2015.12.11
|
###2015.12.11
|
||||||
- change repo
|
- change repo
|
||||||
- change install and remove method
|
- change install and remove method
|
||||||
|
@ -70,7 +72,15 @@ The 'plugin' package MD5 hash.
|
||||||
The 'install' script.
|
The 'install' script.
|
||||||
-->
|
-->
|
||||||
<FILE Run="/bin/bash" Method="install">
|
<FILE Run="/bin/bash" Method="install">
|
||||||
<INLINE>
|
<INLINE>
|
||||||
|
if [ ! -d &emhttp; ]; then
|
||||||
|
mkdir -p &emhttp;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /usr/local/emhttp/plugins/ipmitool ]; then
|
||||||
|
mkdir -p /usr/local/emhttp/plugins/ipmitool
|
||||||
|
fi
|
||||||
|
|
||||||
# Verify and install plugin package
|
# Verify and install plugin package
|
||||||
sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz)
|
sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz)
|
||||||
sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5)
|
sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5)
|
||||||
|
@ -87,7 +97,7 @@ fi
|
||||||
chmod +0755 &emhttp;/scripts/*
|
chmod +0755 &emhttp;/scripts/*
|
||||||
|
|
||||||
# Load impi drivers
|
# Load impi drivers
|
||||||
echo "Loading ipmi drivers..."
|
echo "loading ipmi drivers..."
|
||||||
modprobe ipmi_si
|
modprobe ipmi_si
|
||||||
modprobe ipmi_devintf
|
modprobe ipmi_devintf
|
||||||
|
|
||||||
|
@ -117,7 +127,7 @@ removepkg &plgpath;/&plgname;.txz \
|
||||||
rm -rf &emhttp; \
|
rm -rf &emhttp; \
|
||||||
-rf &plgpath;
|
-rf &plgpath;
|
||||||
|
|
||||||
echo "Unloading ipmi drivers..."
|
echo "unloading ipmi drivers..."
|
||||||
modprobe -r ipmi_si
|
modprobe -r ipmi_si
|
||||||
modprobe -r ipmi_devintf
|
modprobe -r ipmi_devintf
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ ipmitool-plugin: The ipmitool plugin allows you to view your system sensors and
|
||||||
ipmitool-plugin: events using your ipmi hardware. Allows for local or remote
|
ipmitool-plugin: events using your ipmi hardware. Allows for local or remote
|
||||||
ipmitool-plugin: access and event notification.
|
ipmitool-plugin: access and event notification.
|
||||||
ipmitool-plugin:
|
ipmitool-plugin:
|
||||||
ipmitool-plugin: https://github.com/dmacias72/unRAID
|
ipmitool-plugin: https://github.com/dmacias72/unRAID-plugins
|
||||||
ipmitool-plugin:
|
ipmitool-plugin:
|
||||||
ipmitool-plugin:
|
ipmitool-plugin:
|
||||||
ipmitool-plugin:
|
ipmitool-plugin:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user