From 8d243edc303c11cddcb3bcc7b8d9d5f87286e57f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 30 Oct 2023 21:54:31 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a476847a..b5ba2097 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -595,14 +595,14 @@ BACKUP_OFFSITEPFSENSE(){ if [ "$(date +%d)" == "${DOM}" ] && [ "$(date +%u)" == "${DOW}" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" - ln -s "D:\Offsite-pfSense_Backups\${newBAKFOLDER}-M" "${newBAKFOLDER}-W" - ln -s "D:\Offsite-pfSense_Backups\${newBAKFOLDER}-M" "${newBAKFOLDER}-D" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-W" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%d)" == "${DOM}" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" - ln -s "D:\Offsite-pfSense_Backups\${newBAKFOLDER}-M" "${newBAKFOLDER}-D" + ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%u)" == "${DOW}" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-W" - ln -s "D:\Offsite-pfSense_Backups\${newBAKFOLDER}-W" "${newBAKFOLDER}-D" + ln -s ${newBAKFOLDER}-W ${newBAKFOLDER}-D else mv ${newBAKFOLDER} "${newBAKFOLDER}-D" fi