From f1fe99d70dd0497e73c9cb495cd8c4c3f302b0c9 Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Sat, 20 Feb 2016 12:31:00 -0700 Subject: [PATCH] update shellinabox packages and descriptions --- plugins/shellinabox-plugin.plg | 21 ++++++++++--------- plugins/shellinabox-plugin.xml | 4 +++- source/shellinabox-plugin/install/slack-desc | 6 +++--- .../plugins/shellinabox-plugin/README.md | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/plugins/shellinabox-plugin.plg b/plugins/shellinabox-plugin.plg index 1f1fb79d..b80839c9 100755 --- a/plugins/shellinabox-plugin.plg +++ b/plugins/shellinabox-plugin.plg @@ -3,7 +3,7 @@ - + @@ -20,6 +20,8 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a --> +###2016.02.20 +- fix: update plugin ovewriting home directory with saved ###2016.02.11a - fix screenfetch error if emhttp/var.ini were not ready ###2016.02.11 @@ -145,7 +147,7 @@ else upgradepkg --install-new &plgPATH;/&plgNAME;.txz # start shellinabox daemon - /etc/rc.d/rc.shellinaboxd restore +/etc/rc.d/rc.shellinaboxd startup # Cleaning old source files find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete @@ -169,14 +171,13 @@ The 'remove' script. --> - +# stop shellinabox daemon /etc/rc.d/rc.shellinaboxd shutdown removepkg &plgPATH;/*.txz rm -rf &emhttp; rm -f &plgPATH;/*.txz \ - &plgPATH;/*.md5 \ - /etc/rc.d/rc.shellinaboxd + &plgPATH;/*.md5 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 CFGFILE=/boot/config/plugins/shellinabox-plugin/shellinabox-plugin.cfg [ ! `cat "$CFGFILE" | grep SERVICE` ] && echo "SERVICE=\"disable\"" >> "$CFGFILE" -[ ! `cat "$CFGFILE" | grep SCREEN` ] && echo "SCREEN=\"disable\"" >> "$CFGFILE" -[ ! `cat "$CFGFILE" | grep SSL` ] && echo "SSL=\"disable\"" >> "$CFGFILE" -[ ! `cat "$CFGFILE" | grep IPADDR` ] && echo "IPADDR=\"disable\"" >> "$CFGFILE" -[ ! `cat "$CFGFILE" | grep ^PORT` ] && echo "PORT=\"4200\"" >> "$CFGFILE" -[ ! `cat "$CFGFILE" | grep RUNAS` ] && echo "RUNAS=\"nobody\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep SCREEN` ] && echo "SCREEN=\"disable\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep SSL` ] && echo "SSL=\"disable\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep IPADDR` ] && echo "IPADDR=\"disable\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep ^PORT` ] && echo "PORT=\"4200\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep RUNAS` ] && echo "RUNAS=\"nobody\"" >> "$CFGFILE" rm /tmp/shellinabox-chkconf ]]> diff --git a/plugins/shellinabox-plugin.xml b/plugins/shellinabox-plugin.xml index cad32e54..694b703f 100644 --- a/plugins/shellinabox-plugin.xml +++ b/plugins/shellinabox-plugin.xml @@ -11,8 +11,10 @@ Shell In A Box implements a web server that can export arbitrary command line to http://lime-technology.com/forum/index.php?topic=42683.0 https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/shellinabox-plugin.png -2016-02-11 +2016-02-20 +###2016.02.20 +- fix: update plugin ovewriting home directory with saved ###2016.02.11a - fix screenfetch error if emhttp/var.ini were not ready ###2016.02.11 diff --git a/source/shellinabox-plugin/install/slack-desc b/source/shellinabox-plugin/install/slack-desc index fc354869..4327a339 100644 --- a/source/shellinabox-plugin/install/slack-desc +++ b/source/shellinabox-plugin/install/slack-desc @@ -10,9 +10,9 @@ shellinabox-plugin: Shell In A Box unRAID 6.1+ Plugin shellinabox-plugin: 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: tool is created under the Tools menu. -shellinabox-plugin: -shellinabox-plugin: +shellinabox-plugin: tool is created under the Tools menu. Backup and restore user home +shellinabox-plugin: directory on system shutdown and start. Also includes screenfetch for +shellinabox-plugin: command line screenshots shellinabox-plugin: shellinabox-plugin: dmacias72/unRAID shellinabox-plugin: https://github.com/dmacias72/unRAID-plugins diff --git a/source/shellinabox-plugin/usr/local/emhttp/plugins/shellinabox-plugin/README.md b/source/shellinabox-plugin/usr/local/emhttp/plugins/shellinabox-plugin/README.md index 85a6d2d3..5ef828a0 100644 --- a/source/shellinabox-plugin/usr/local/emhttp/plugins/shellinabox-plugin/README.md +++ b/source/shellinabox-plugin/usr/local/emhttp/plugins/shellinabox-plugin/README.md @@ -1,4 +1,4 @@ **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