diff --git a/defaults.inc b/defaults.inc index e4ec6f8a..527f2b41 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.12.1-09042023' +VERS='4.12.3-09042023' 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' diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9352d076..53253f86 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -582,14 +582,14 @@ BACKUP_OFFSITEPFSENSE(){ if [ "$(date +%d)" == "04" ] && [ "$(date +%u)" == "1" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" - ln -s "${newBAKFOLDER}-W" "${newBAKFOLDER}-M" - ln -s "${newBAKFOLDER}-D" "${newBAKFOLDER}-M" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-W" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%d)" == "04" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" - ln -s "${newBAKFOLDER}-D" "${newBAKFOLDER}-M" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%u)" == "1" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-W" - ln -s "${newBAKFOLDER}-D" "${newBAKFOLDER}-W" + ln -s "${newBAKFOLDER}-W" "${newBAKFOLDER}-D" else mv ${newBAKFOLDER} "${newBAKFOLDER}-D" fi