Skip to content

Commit

Permalink
Update unbound_manager.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MartineauUK committed Mar 3, 2020
1 parent 5308908 commit 26ca496
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions unbound_manager.sh
Expand Up @@ -1616,14 +1616,14 @@ GUI_Stats_TAB(){
# tab: [
# <snip>
#{url: "userX.asp", tabName: "Unbound"},
if [ ! -f /tmp/menuTree.js ] || [ -z "$(grep -i "Unbound" /tmp/menuTree.js)" ];then # v2.15
#if [ ! -f /tmp/menuTree.js ] || [ -z "$(grep -i "Unbound" /tmp/menuTree.js)" ];then # v2.15
echo -en $cBGRA
sh /jffs/addons/unbound/unbound_stats.sh "install"
echo -en $cRESET
else
echo -en $cBRED"\a\n\tunbound GUI graphical stats TAB already installed!\n"$cRESET
STATUS=1 # v2.15
fi
#else
#echo -en $cBRED"\a\n\tunbound GUI graphical stats TAB already installed!\n"$cRESET
#STATUS=1 # v2.15
#fi
else
if [ -f /jffs/addons/unbound/unbound_stats.sh ];then
echo -en $cBCYA"\n\tunbound GUI graphical stats TAB uninstalled - "$cRESET
Expand Down

0 comments on commit 26ca496

Please sign in to comment.