diff --git a/defaults.inc b/defaults.inc index d955b2ad..f9f4bd13 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.1.78-01162024' +VERS='5.1.79-01202024' 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 ' diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f95ca896..0f327b50 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -509,6 +509,7 @@ BACKUP_OFFSITEPFSENSE(){ if [ "$(CHECK_HOST ${OFFSITE_PFSENSE_IP})" != "false" ]; then if [ ! -f ${BAKFOLDER}/mounted ]; then + umount ${BAKFOLDER} mount -a sleep 2s if [ ! -f ${BAKFOLDER}/mounted ]; then @@ -580,6 +581,7 @@ BACKUP_UNIFIUDM(){ if [ "$(CHECK_HOST ${UNIFIUDM_IP})" != "false" ]; then if [ ! -f ${BAKFOLDER}/mounted ]; then + umount ${BAKFOLDER} mount -a sleep 2s if [ ! -f ${BAKFOLDER}/mounted ]; then @@ -652,6 +654,7 @@ BACKUP_UNIFINVR(){ if [ "$(CHECK_HOST ${UNIFINVR_IP})" != "false" ]; then if [ ! -f ${BAKFOLDER}/mounted ]; then + umount ${BAKFOLDER} mount -a sleep 2s if [ ! -f ${BAKFOLDER}/mounted ]; then