update shellinabox packages and descriptions

This commit is contained in:
dmacias72 2016-02-20 12:31:00 -07:00
parent 8f9867133a
commit f1fe99d70d
4 changed files with 18 additions and 15 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "shellinabox-plugin"> <!ENTITY name "shellinabox-plugin">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2016.02.11a"> <!ENTITY version "2016.02.20">
<!ENTITY launch "Settings/Shellinabox"> <!ENTITY launch "Settings/Shellinabox">
<!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,8 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
--> -->
<CHANGES> <CHANGES>
###2016.02.20
- fix: update plugin ovewriting home directory with saved
###2016.02.11a ###2016.02.11a
- fix screenfetch error if emhttp/var.ini were not ready - fix screenfetch error if emhttp/var.ini were not ready
###2016.02.11 ###2016.02.11
@ -145,7 +147,7 @@ else
upgradepkg --install-new &plgPATH;/&plgNAME;.txz upgradepkg --install-new &plgPATH;/&plgNAME;.txz
# start shellinabox daemon # start shellinabox daemon
/etc/rc.d/rc.shellinaboxd restore /etc/rc.d/rc.shellinaboxd startup
# Cleaning old source files # Cleaning old source files
find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete
@ -169,14 +171,13 @@ The 'remove' script.
--> -->
<FILE Run="/bin/bash" Method="remove"> <FILE Run="/bin/bash" Method="remove">
<INLINE> <INLINE>
# stop shellinabox daemon
/etc/rc.d/rc.shellinaboxd shutdown /etc/rc.d/rc.shellinaboxd shutdown
removepkg &plgPATH;/*.txz removepkg &plgPATH;/*.txz
rm -rf &emhttp; rm -rf &emhttp;
rm -f &plgPATH;/*.txz \ rm -f &plgPATH;/*.txz \
&plgPATH;/*.md5 \ &plgPATH;/*.md5
/etc/rc.d/rc.shellinaboxd
echo "" echo ""
echo "-----------------------------------------------------------" echo "-----------------------------------------------------------"
@ -195,11 +196,11 @@ echo ""
# This will check each entry in the config so nothing is missing, and if missing, sets to default # This will check each entry in the config so nothing is missing, and if missing, sets to default
CFGFILE=/boot/config/plugins/shellinabox-plugin/shellinabox-plugin.cfg CFGFILE=/boot/config/plugins/shellinabox-plugin/shellinabox-plugin.cfg
[ ! `cat "$CFGFILE" | grep SERVICE` ] && echo "SERVICE=\"disable\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep SERVICE` ] && echo "SERVICE=\"disable\"" >> "$CFGFILE"
[ ! `cat "$CFGFILE" | grep SCREEN` ] && echo "SCREEN=\"disable\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep SCREEN` ] && echo "SCREEN=\"disable\"" >> "$CFGFILE"
[ ! `cat "$CFGFILE" | grep SSL` ] && echo "SSL=\"disable\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep SSL` ] && echo "SSL=\"disable\"" >> "$CFGFILE"
[ ! `cat "$CFGFILE" | grep IPADDR` ] && echo "IPADDR=\"disable\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep IPADDR` ] && echo "IPADDR=\"disable\"" >> "$CFGFILE"
[ ! `cat "$CFGFILE" | grep ^PORT` ] && echo "PORT=\"4200\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep ^PORT` ] && echo "PORT=\"4200\"" >> "$CFGFILE"
[ ! `cat "$CFGFILE" | grep RUNAS` ] && echo "RUNAS=\"nobody\"" >> "$CFGFILE" [ ! `cat "$CFGFILE" | grep RUNAS` ] && echo "RUNAS=\"nobody\"" >> "$CFGFILE"
rm /tmp/shellinabox-chkconf rm /tmp/shellinabox-chkconf
]]> ]]>
</INLINE> </INLINE>

View File

@ -11,8 +11,10 @@ Shell In A Box implements a web server that can export arbitrary command line to
</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/shellinabox-plugin.png</Icon> <Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/shellinabox-plugin.png</Icon>
<Date>2016-02-11</Date> <Date>2016-02-20</Date>
<Changes> <Changes>
###2016.02.20
- fix: update plugin ovewriting home directory with saved
###2016.02.11a ###2016.02.11a
- fix screenfetch error if emhttp/var.ini were not ready - fix screenfetch error if emhttp/var.ini were not ready
###2016.02.11 ###2016.02.11

View File

@ -10,9 +10,9 @@ shellinabox-plugin: Shell In A Box unRAID 6.1+ Plugin
shellinabox-plugin: shellinabox-plugin:
shellinabox-plugin: Shell In A Box implements a web server that can export arbitrary shellinabox-plugin: Shell In A Box implements a web server that can export arbitrary
shellinabox-plugin: command line tools to a web based terminal emulator. A Command Line shellinabox-plugin: command line tools to a web based terminal emulator. A Command Line
shellinabox-plugin: tool is created under the Tools menu. shellinabox-plugin: tool is created under the Tools menu. Backup and restore user home
shellinabox-plugin: shellinabox-plugin: directory on system shutdown and start. Also includes screenfetch for
shellinabox-plugin: shellinabox-plugin: command line screenshots
shellinabox-plugin: shellinabox-plugin:
shellinabox-plugin: dmacias72/unRAID shellinabox-plugin: dmacias72/unRAID
shellinabox-plugin: https://github.com/dmacias72/unRAID-plugins shellinabox-plugin: https://github.com/dmacias72/unRAID-plugins

View File

@ -1,4 +1,4 @@
**Command Line Tool** **Command Line Tool**
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. A Command Line tool is created under the Tools menu. Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. A Command Line tool is created under the Tools menu. Backup and restore user home directory on system shutdown and start. Also includes screenfetch for command line screenshots