From 65e3d42e63b9b677b9bbe9d50527112d79568988 Mon Sep 17 00:00:00 2001 From: FailedProxy Date: Fri, 27 Mar 2026 19:08:11 +0000 Subject: [PATCH] test --- Rsync/rsync.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Rsync/rsync.sh b/Rsync/rsync.sh index 6deb52f..10777eb 100644 --- a/Rsync/rsync.sh +++ b/Rsync/rsync.sh @@ -8,11 +8,15 @@ set -e # ---------------------------------------------------------------------------------------------- # Resolve script directory (Unraid-safe /tmp compatible) -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PROJECT_ROOT="/mnt/user/appdata/unraid_scripts" -# Load configs & helpers (UNCHANGED INTENT) -source "$SCRIPT_DIR/../Master.conf" -source "$SCRIPT_DIR/../common.sh" +SCRIPT_DIR="$PROJECT_ROOT/Rsync" + +# ---------------------------------------------------------------------------------------------- +# Load configs & helpers (FIXED PATHS) +# ---------------------------------------------------------------------------------------------- +source "$PROJECT_ROOT/Master.conf" +source "$PROJECT_ROOT/common.sh" # ---------------------------------------------------------------------------------------------- # Init