update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
VERS='4.12.20-09112023'
|
||||
VERS='4.12.21-09112023'
|
||||
|
||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense '
|
||||
CERT_DAEMON='/snap/bin/certbot'
|
||||
|
||||
@@ -714,12 +714,16 @@ REPLCHECK(){
|
||||
rcheck=${1}
|
||||
nip=${2}
|
||||
PH_CMD=${3}
|
||||
if [ "${4}" != "check" ]; then
|
||||
timeout=`date --date='1 minutes' +%s`
|
||||
# timeout=`date --date='30 seconds' +%s`
|
||||
else
|
||||
timeout=`date --date='2 minutes' +%s`
|
||||
fi
|
||||
|
||||
# if [ "${4}" != "check" ]; then
|
||||
# timeout=`date --date='1 minutes' +%s`
|
||||
# # timeout=`date --date='30 seconds' +%s`
|
||||
# else
|
||||
# timeout=`date --date='2 minutes' +%s`
|
||||
# fi
|
||||
timeout=`date --date='1 minutes' +%s`
|
||||
# timeout=`date --date='30 seconds' +%s`
|
||||
|
||||
checked=false
|
||||
until [ "${checked}" == "" ]; do
|
||||
if [ "${PH_CMD}" == "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user