Fixed a bug with logging.
This commit is contained in:
parent
c38db655ff
commit
90229cf1c2
@ -37,15 +37,16 @@ if ls $(dirname $0)/nsupdate.d/*.config &> /dev/null; then
|
||||
# Loop through configs
|
||||
for f in $(dirname $0)/nsupdate.d/*.config
|
||||
do
|
||||
source $f
|
||||
|
||||
if [[ "$SILENT" == "NO" ]]; then
|
||||
echo "Starting nameserver update with config file $f ($LOG)"
|
||||
fi
|
||||
|
||||
## Set record type to IPv4
|
||||
TYPE=A
|
||||
CONNECTION_TYPE=4
|
||||
|
||||
source $f
|
||||
|
||||
## Set record type to MX
|
||||
if [[ "$MX" == "YES" ]]; then
|
||||
TYPE=MX
|
||||
|
Loading…
x
Reference in New Issue
Block a user