replace hard coded zone with var
This commit is contained in:
parent
8ba74f0ce4
commit
da37affbbb
|
@ -55,7 +55,7 @@ if [[ $zone_exists = "true" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# get current SOA
|
# get current SOA
|
||||||
soa=$(/usr/local/sbin/pdns-zone-exp.sh -z stack-source.com -c|grep ',SOA,'|cut -d , -f 5)
|
soa=$(/usr/local/sbin/pdns-zone-exp.sh -z $zone -c|grep ',SOA,'|cut -d , -f 5)
|
||||||
# get/set account
|
# get/set account
|
||||||
if [[ -z $account ]]; then
|
if [[ -z $account ]]; then
|
||||||
account=$hostname
|
account=$hostname
|
||||||
|
|
Loading…
Reference in New Issue
Block a user