update
This commit is contained in:
parent
bc26faca4e
commit
341d74b2ed
|
@ -3,7 +3,7 @@
|
||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "cmdline">
|
<!ENTITY name "cmdline">
|
||||||
<!ENTITY author "dmacias72">
|
<!ENTITY author "dmacias72">
|
||||||
<!ENTITY version "2016.06.14">
|
<!ENTITY version "2016.10.22">
|
||||||
<!ENTITY launch "Settings/CommandLineSettings">
|
<!ENTITY launch "Settings/CommandLineSettings">
|
||||||
<!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">
|
||||||
|
@ -20,6 +20,9 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
|
###2016.10.22
|
||||||
|
- fix: ip connection for 6.2+
|
||||||
|
- add: tabs for terminal and settings
|
||||||
###2016.06.14
|
###2016.06.14
|
||||||
- add: dynamix plugin update api
|
- add: dynamix plugin update api
|
||||||
- add: help content
|
- add: help content
|
||||||
|
@ -93,7 +96,7 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
|
||||||
</CHANGES>
|
</CHANGES>
|
||||||
|
|
||||||
|
|
||||||
<FILE Name="&plgPATH;/shellinabox-2.20-x86_64-2.txz" Run="upgradepkg --install-new">
|
<FILE Name="&plgPATH;/shellinabox-2.20-x86_64-2.txz" Min="6.1" Run="upgradepkg --install-new">
|
||||||
<URL>&pkgURL;/shellinabox-2.20-x86_64-2.txz</URL>
|
<URL>&pkgURL;/shellinabox-2.20-x86_64-2.txz</URL>
|
||||||
<MD5>59ed3289a33c40fecf95c8da658a8bd8</MD5>
|
<MD5>59ed3289a33c40fecf95c8da658a8bd8</MD5>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
@ -148,24 +151,6 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
||||||
rm &plgPATH;/&plgNAME;.md5
|
rm &plgPATH;/&plgNAME;.md5
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
#remove old plugin and move old files
|
|
||||||
OLDPLG="/boot/config/plugins/shellinabox-plugin"
|
|
||||||
if [ -d /usr/local/emhttp/plugins/shellinabox ]; then
|
|
||||||
rm -rf /usr/local/emhttp/plugins/shellinabox
|
|
||||||
fi
|
|
||||||
if [ -d /usr/local/emhttp/plugins/shellinabox-plugin ]; then
|
|
||||||
rm -rf /usr/local/emhttp/plugins/shellinabox-plugin
|
|
||||||
fi
|
|
||||||
if [ -f $OLDPLG/shellinabox-plugin.cfg ]; then
|
|
||||||
mv -f $OLDPLG/shellinabox-plugin.cfg &plgPATH;/cmdline.cfg
|
|
||||||
fi
|
|
||||||
if [ -f $OLDPLG/home_directory.tar.gz ]; then
|
|
||||||
mv -f $OLDPLG/home_directory.tar.gz &plgPATH;/home_directory.tar.gz
|
|
||||||
fi
|
|
||||||
if [ -d $OLDPLG ]; then
|
|
||||||
rm -rf $OLDPLG
|
|
||||||
fi
|
|
||||||
|
|
||||||
# upgrade package
|
# upgrade package
|
||||||
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
upgradepkg --install-new &plgPATH;/&plgNAME;.txz
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,11 @@ Command Line implements Shell In A Box. A web server that can export arbitrary c
|
||||||
</Description>
|
</Description>
|
||||||
<Support>http://lime-technology.com/forum/index.php?topic=42683.0</Support>
|
<Support>http://lime-technology.com/forum/index.php?topic=42683.0</Support>
|
||||||
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/cmdline.png</Icon>
|
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/cmdline.png</Icon>
|
||||||
<Date>2016-06-14</Date>
|
<Date>2016-10-22</Date>
|
||||||
<Changes>
|
<Changes>
|
||||||
|
###2016.10.22
|
||||||
|
- fix: ip connection for 6.2+
|
||||||
|
- add: tabs for terminal and settings
|
||||||
###2016.06.14
|
###2016.06.14
|
||||||
- add: dynamix plugin update api
|
- add: dynamix plugin update api
|
||||||
- add: help content
|
- add: help content
|
||||||
|
|
Loading…
Reference in New Issue
Block a user