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