Change default config location to /etc/dns-manager/config.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
2
dns-zone
2
dns-zone
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user