U
This commit is contained in:
@@ -16,11 +16,10 @@
|
|||||||
#-----------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------
|
||||||
# Load Master.conf
|
# Load Master.conf
|
||||||
load_master_conf() {
|
load_master_conf() {
|
||||||
local script_dir
|
# Hardcode the full path to your Master.conf
|
||||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[1]}")" && pwd)"
|
local master_conf="/mnt/user/appdata/unraid_scripts/Master.conf"
|
||||||
local master_conf="$script_dir/Master.conf"
|
|
||||||
|
|
||||||
if [[ -f "$master_conf" ]]; then
|
if [ -f "$master_conf" ]; then
|
||||||
source "$master_conf"
|
source "$master_conf"
|
||||||
echo "Loaded Master.conf from $master_conf"
|
echo "Loaded Master.conf from $master_conf"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user