From fa4c54e2d59db6922d1b6edc273af8c46f040a2e Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Fri, 11 Mar 2016 18:49:14 -0700 Subject: [PATCH] update --- plugins/cmdline.plg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/cmdline.plg b/plugins/cmdline.plg index 4aa85b2c..4098e32f 100755 --- a/plugins/cmdline.plg +++ b/plugins/cmdline.plg @@ -101,6 +101,7 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a SERVICE="disable" SSL="disable" SCREEN="disable" +BACKUP="disable" IPADDR="disable" PORT="4200" RUNAS="nobody" @@ -199,19 +200,20 @@ echo "" - + > "$CFGFILE" [ ! `cat "$CFGFILE" | grep SCREEN` ] && echo "SCREEN=\"disable\"" >> "$CFGFILE" +[ ! `cat "$CFGFILE" | grep BACKUP` ] && echo "BACKUP=\"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 +rm /tmp/cmdline-chkconf ]]>