From 4a012333bcf177f8ea37e6a19f414de5dad5c94d Mon Sep 17 00:00:00 2001 From: FailedProxy Date: Tue, 24 Mar 2026 20:55:05 +0000 Subject: [PATCH] U --- common.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common.sh b/common.sh index 129f67d..5d2bb44 100644 --- a/common.sh +++ b/common.sh @@ -16,11 +16,10 @@ #----------------------------------------------------------------------------------------------- # Load Master.conf load_master_conf() { - local script_dir - script_dir="$(cd "$(dirname "${BASH_SOURCE[1]}")" && pwd)" - local master_conf="$script_dir/Master.conf" + # Hardcode the full path to your Master.conf + local master_conf="/mnt/user/appdata/unraid_scripts/Master.conf" - if [[ -f "$master_conf" ]]; then + if [ -f "$master_conf" ]; then source "$master_conf" echo "Loaded Master.conf from $master_conf" else