update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
VERS='5.1.12-12062023'
|
||||
NM_BETA=beta
|
||||
VERS='5.1.13-12062023'
|
||||
NM_BETA=false
|
||||
|
||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '
|
||||
CERT_DAEMON='/snap/bin/certbot'
|
||||
|
||||
@@ -879,9 +879,9 @@ GUI(){
|
||||
if [ "${2}" == "freespace" ]; then
|
||||
STATUS freespace ${3}
|
||||
else
|
||||
STATUSRUNS=($(find "${NM_TMPFOLDER}/"* -maxdepth 1 -type d -iname "status-*" 2>/dev/null))
|
||||
STATUSRUNS=($(find ${NM_TMPFOLDER}/* -maxdepth 1 -type d -iname "status-*" 2>/dev/null))
|
||||
echo "HERE: ${STATUSRUNS}"
|
||||
if [ ${STATUSRUNS} -le 3 ]; then
|
||||
if [ ${#STATUSRUNS[@]} -le 3 ]; then
|
||||
STATUS_START=$(date +%Y-%m-%d-%H-%M-%S)
|
||||
STATUSRUN_TMPFOLDER="${NM_TMPFOLDER}/status-${STATUS_START}"
|
||||
mkdir ${STATUSRUN_TMPFOLDER}
|
||||
@@ -923,7 +923,7 @@ GUI(){
|
||||
done
|
||||
touch ${NM_TMPFOLDER}/.statusclean
|
||||
STATUSRUNS=($(find ${NM_TMPFOLDER}/* -maxdepth 1 -type d -iname "status-*" 2>/dev/null))
|
||||
if [ ${STATUSRUNS} -le 3 ]; then
|
||||
if [ ${#STATUSRUNS[@]} -le 3 ]; then
|
||||
${NM_SCRIPT} status ${2} ${3} ${4}
|
||||
exit 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user