test
This commit is contained in:
@@ -13,9 +13,13 @@
|
||||
#-----------------------------------------------------------------------------------------------
|
||||
# Load Master.conf
|
||||
load_master_conf() {
|
||||
# Resolve the folder of the calling script (rsync.sh)
|
||||
local script_dir
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Master.conf is one level up from Rsync/
|
||||
local master_conf="$script_dir/../Master.conf"
|
||||
|
||||
if [ -f "$master_conf" ]; then
|
||||
source "$master_conf"
|
||||
echo "Loaded Master.conf from $master_conf"
|
||||
|
||||
Reference in New Issue
Block a user