Change default config location to /etc/dns-manager/config.sh
This commit is contained in:
@@ -21,7 +21,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
json=false
|
||||
json_pretty=false
|
||||
raw=false
|
||||
|
||||
@@ -23,7 +23,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
cmd=""
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
|
||||
@@ -19,7 +19,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
force=false
|
||||
interactive=false
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
force=false
|
||||
interactive=false
|
||||
|
||||
|
||||
2
dns-zone
2
dns-zone
@@ -22,7 +22,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
cmd=""
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
|
||||
@@ -23,7 +23,7 @@ EOF
|
||||
exit
|
||||
}
|
||||
|
||||
config_file="$SCRIPT_DIR"/config.sh
|
||||
config_file="/etc/dns-manager/config.sh"
|
||||
interactive=false
|
||||
json=false
|
||||
json_pretty=false
|
||||
|
||||
Reference in New Issue
Block a user