Xals : a merger dans la 1
Pb quand on créé "toto.fr" alors qu'on a déjà créé "pouet.toto.fr"
This commit is contained in:
parent
c0ada4eeca
commit
0ff2574ddd
|
@ -49,7 +49,7 @@ dns_named_conf() {
|
|||
return 1
|
||||
fi
|
||||
|
||||
grep -q "$domain" "$NAMED_CONF"
|
||||
grep -q "\"$domain\"" "$NAMED_CONF"
|
||||
if [ $? -ne 0 ] ; then
|
||||
local tempo=$(cat "$NAMED_TEMPLATE")
|
||||
tempo=${tempo/@@DOMAINE@@/$domain}
|
||||
|
|
Loading…
Reference in New Issue