This commit is contained in:
2026-03-27 19:08:11 +00:00
parent ef3924cf25
commit 65e3d42e63
+8 -4
View File
@@ -8,11 +8,15 @@ set -e
# ---------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------
# Resolve script directory (Unraid-safe /tmp compatible) # 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) SCRIPT_DIR="$PROJECT_ROOT/Rsync"
source "$SCRIPT_DIR/../Master.conf"
source "$SCRIPT_DIR/../common.sh" # ----------------------------------------------------------------------------------------------
# Load configs & helpers (FIXED PATHS)
# ----------------------------------------------------------------------------------------------
source "$PROJECT_ROOT/Master.conf"
source "$PROJECT_ROOT/common.sh"
# ---------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------
# Init # Init