Commit 040ca532 authored by Jakub Filo's avatar Jakub Filo
Browse files

Fixed style to match upstream

parent 522b7c51
......@@ -4,8 +4,7 @@
#Nsd_Command="sudo nsd-control reload"
# args: fulldomain txtvalue
dns_nsd_add()
{
dns_nsd_add() {
fulldomain=$1
txtvalue=$2
ttlvalue=300
......@@ -31,7 +30,7 @@ dns_nsd_add()
_savedomainconf Nsd_ZoneFile "$Nsd_ZoneFile"
_savedomainconf Nsd_Command "$Nsd_Command"
echo "$fulldomain. $ttlvalue IN TXT \"$txtvalue\"" >> "$Nsd_ZoneFile"
echo "$fulldomain. $ttlvalue IN TXT \"$txtvalue\"" >>"$Nsd_ZoneFile"
_info "Added TXT record for $fulldomain"
_debug "Running $Nsd_Command"
if eval "$Nsd_Command"; then
......@@ -44,8 +43,7 @@ dns_nsd_add()
}
# args: fulldomain txtvalue
dns_nsd_rm()
{
dns_nsd_rm() {
fulldomain=$1
txtvalue=$2
ttlvalue=300
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment