Explorar o código

default priority record for MX and SRV type

Serghey Rodin %!s(int64=13) %!d(string=hai) anos
pai
achega
200f50829a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      bin/v-add-dns-domain-record

+ 3 - 0
bin/v-add-dns-domain-record

@@ -25,6 +25,9 @@ dvalue=$(echo "$dvalue" | tr '[:upper:]' '[:lower:]')
 priority=$6
 priority=$6
 id=$7
 id=$7
 restart=$8
 restart=$8
+if [ -z "$priority" ]; then
+    priority=10
+fi
 
 
 # Includes
 # Includes
 source $VESTA/conf/vesta.conf
 source $VESTA/conf/vesta.conf