This commit is contained in:
2024-01-20 22:24:09 -06:00
parent ab9e4b75c1
commit d55360b018
2 changed files with 4 additions and 1 deletions

View File

@@ -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