update command line page to new name and default to port 4200
This commit is contained in:
parent
ce70f80119
commit
75d1d8741e
@ -3,12 +3,11 @@
|
||||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "shellinabox-plugin">
|
||||
<!ENTITY author "dmacias72">
|
||||
<!ENTITY version "2015.12.30">
|
||||
<!ENTITY version "2016.01.06">
|
||||
<!ENTITY launch "Settings/Shellinabox">
|
||||
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
|
||||
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
|
||||
<!ENTITY pkgURL "&gitURL;/source/packages">
|
||||
<!ENTITY pkgs "/boot/config/plugins/&name;">
|
||||
<!ENTITY plgpath "/boot/config/plugins/&name;">
|
||||
<!ENTITY plgname "&name;-&version;-x86_64-1">
|
||||
<!ENTITY emhttp "/usr/local/emhttp/plugins/&name;">
|
||||
@ -21,6 +20,9 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
|
||||
-->
|
||||
|
||||
<CHANGES>
|
||||
###2016.01.06
|
||||
- change package path to plugin directory
|
||||
- fix Tool/Command Line page misspelled cfg file and defaulting to port 8088 instead of 4200
|
||||
###2015.12.30
|
||||
- remove old plugin directory on install
|
||||
###2015.12.21
|
||||
@ -51,11 +53,11 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
|
||||
</CHANGES>
|
||||
|
||||
|
||||
<FILE Name="&pkgs;/shellinabox-2.19-x86_64-1sl.txz" Run="upgradepkg --install-new">
|
||||
<FILE Name="&plgpath;/shellinabox-2.19-x86_64-1sl.txz" Run="upgradepkg --install-new">
|
||||
<URL>&pkgURL;/shellinabox-2.19-x86_64-1sl.txz</URL>
|
||||
<MD5>96f21406d18181f469e732795d2965e8</MD5>
|
||||
</FILE>
|
||||
<FILE Name="&pkgs;/linux-pam-1.1.8-x86_64-1gds.txz" Run="upgradepkg --install-new">
|
||||
<FILE Name="&plgpath;/linux-pam-1.1.8-x86_64-1gds.txz" Run="upgradepkg --install-new">
|
||||
<URL>&pkgURL;/linux-pam-1.1.8-x86_64-1gds.txz</URL>
|
||||
<MD5>f5d4e99dc0b65f4d6b3bacf479c9c6e2</MD5>
|
||||
</FILE>
|
||||
@ -87,12 +89,6 @@ if [[ ${version:0:3} == 6.0 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#remove old plugin name directory
|
||||
if [ -d /usr/local/emhttp/plugins/shellinabox ]; then
|
||||
rm -rf /usr/local/emhttp/plugins/shellinabox
|
||||
fi
|
||||
|
||||
|
||||
# Verify and install plugin package
|
||||
sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz)
|
||||
sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5)
|
||||
@ -102,6 +98,10 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
||||
rm &plgpath;/&plgname;.md5
|
||||
exit 1
|
||||
else
|
||||
#remove old plugin name directory
|
||||
if [ -d /usr/local/emhttp/plugins/shellinabox ]; then
|
||||
rm -rf /usr/local/emhttp/plugins/shellinabox
|
||||
fi
|
||||
upgradepkg --install-new &plgpath;/&plgname;.txz
|
||||
fi
|
||||
|
||||
@ -128,7 +128,7 @@ The 'remove' script.
|
||||
removepkg &plgpath;/*.txz
|
||||
rm -rf &emhttp;
|
||||
rm -f &plgpath;/*.txz
|
||||
rm -f &plgpath;/&plgname;.md5
|
||||
rm -f &plgpath;/*.md5
|
||||
|
||||
echo ""
|
||||
echo "-----------------------------------------------------------"
|
||||
@ -154,4 +154,4 @@ rm /tmp/shellinabox-chkconf
|
||||
</INLINE>
|
||||
</FILE>
|
||||
|
||||
</PLUGIN>
|
||||
</PLUGIN>
|
@ -11,8 +11,11 @@ Shell In A Box implements a web server that can export arbitrary command line to
|
||||
</Description>
|
||||
<Support>http://lime-technology.com/forum/index.php?topic=42683.0</Support>
|
||||
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/shellinabox-plugin.png</Icon>
|
||||
<Date>2015-12-30</Date>
|
||||
<Date>2016-01-06</Date>
|
||||
<Changes>
|
||||
###2016.01.06
|
||||
- change package path to plugin directory
|
||||
- fix Tool/Command Line page misspelled cfg file and defaulting to port 8088 instead of 4200
|
||||
###2015.12.30
|
||||
- remove old plugin directory on install
|
||||
###2015.12.21
|
||||
@ -41,4 +44,4 @@ Shell In A Box implements a web server that can export arbitrary command line to
|
||||
###2015.09.03
|
||||
- initial commit
|
||||
</Changes>
|
||||
</Containers>
|
||||
</Containers>
|
@ -4,8 +4,8 @@ Type="xmenu"
|
||||
---
|
||||
<?php
|
||||
$sName = "shellinaboxd";
|
||||
$shellinabox_cfg = parse_plugin_cfg("shellinabox");
|
||||
$shellinabox_port = (isset($shellinabox_cfg['PORT']) && is_numeric($shellinabox_cfg['PORT']) && $shellinabox_cfg['PORT'] > 0 && $shellinabox_cfg['PORT'] < 65535 ) ? $shellinabox_cfg['PORT'] : "8088";
|
||||
$shellinabox_cfg = parse_plugin_cfg("shellinabox-plugin");
|
||||
$shellinabox_port = (isset($shellinabox_cfg['PORT']) && is_numeric($shellinabox_cfg['PORT']) && $shellinabox_cfg['PORT'] > 0 && $shellinabox_cfg['PORT'] < 65535 ) ? $shellinabox_cfg['PORT'] : "4200";
|
||||
?>
|
||||
<style>
|
||||
iframe {
|
||||
|
Loading…
Reference in New Issue
Block a user