Change default config location to /etc/dns-manager/config.sh

This commit is contained in:
2025-08-06 18:25:11 +02:00
parent 4ecf26c03b
commit 1550ad6c1c
6 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
json=false json=false
json_pretty=false json_pretty=false
raw=false raw=false

View File

@@ -23,7 +23,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
cmd="" cmd=""
while [ -n "$1" ]; do while [ -n "$1" ]; do

View File

@@ -19,7 +19,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
force=false force=false
interactive=false interactive=false

View File

@@ -20,7 +20,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
force=false force=false
interactive=false interactive=false

View File

@@ -22,7 +22,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
cmd="" cmd=""
while [ -n "$1" ]; do while [ -n "$1" ]; do

View File

@@ -23,7 +23,7 @@ EOF
exit exit
} }
config_file="$SCRIPT_DIR"/config.sh config_file="/etc/dns-manager/config.sh"
interactive=false interactive=false
json=false json=false
json_pretty=false json_pretty=false