mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
removed logic mass dns_unsuspend script
This commit is contained in:
parent
75f9977cbf
commit
18c9bf45e6
1 changed files with 1 additions and 11 deletions
|
@ -55,17 +55,7 @@ domains=$(dom_clear_search)
|
|||
|
||||
# Starting unsuspend loop
|
||||
for domain in $domains; do
|
||||
|
||||
# Defining named config
|
||||
conf="/etc/named.conf"
|
||||
|
||||
# Adding zone in named.conf
|
||||
rec="zone \"$domain\" { type master; file \"/etc/namedb/$domain.db\"; };"
|
||||
echo "$rec" >> $conf
|
||||
|
||||
# Unsuspendin in config
|
||||
update_domain_value 'dns' '$SUSPENDED' 'no'
|
||||
|
||||
$V_BIN/v_unsuspend_dns_domain "$user" "$domain"
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue