From 25bcdf0c6e48901997e1e70e77bafbed84e198ee Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 30 Oct 2023 21:50:23 -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 4e1769f2..f2143ce4 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 "${newBAKFOLDER}-M" "${newBAKFOLDER}-W" - ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" + ln "${newBAKFOLDER}-M" "${newBAKFOLDER}-W" + ln "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%d)" == "${DOM}" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" - ln -s "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" + ln "${newBAKFOLDER}-M" "${newBAKFOLDER}-D" elif [ "$(date +%u)" == "${DOW}" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-W" - ln -s "${newBAKFOLDER}-W" "${newBAKFOLDER}-D" + ln "${newBAKFOLDER}-W" "${newBAKFOLDER}-D" else mv ${newBAKFOLDER} "${newBAKFOLDER}-D" fi