From 3779dbe93b414ebb9bd6ed43dc458e9381da8b7c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 9 Nov 2023 10:05:30 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- inc/sites.inc | 6 ++++-- nodemgmt-scripts.sh | 6 +----- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/defaults.inc b/defaults.inc index 8152a76d..2d9fba4d 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.12.74-11052023' +VERS='4.12.100-11092023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/sites.inc b/inc/sites.inc index 335ed83a..1dcfb295 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -695,7 +695,8 @@ SITEINFO(){ echo -e "\033[K\n\033[K" echo -en "\033[KEnter new Proxy Address: " read server - echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" + echo -e "\033[5A"; for (( c=1; c<=5; c++ )); do echo -e "\033[K"; done; echo -e "\033[5A" + # echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" ;; 8) [ "${scheme}" == "http" ] && scheme='https' || scheme='http';; # 8) @@ -708,7 +709,8 @@ SITEINFO(){ echo -e "\033[K\n\033[K" echo -en "\033[KEnter new Proxy Port: " read port - echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" + echo -e "\033[5A"; for (( c=1; c<=5; c++ )); do echo -e "\033[K"; done; echo -e "\033[5A" + # echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" ;; [Ee]) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a77cd073..e7457bc6 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -782,14 +782,10 @@ DOWNLIST(){ fi [ "${choice^^}" == "E" ] && break - - # mrow="\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A" echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A" for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc); c++ )); do echo -e "\033[K"; done echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A" - - # echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "${mrow}" - + done echo