mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update v-normalize-restored-user
This commit is contained in:
parent
a08a17cca8
commit
a30d8b8233
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ NEWNS2=${arrNS[1]}
|
|||
|
||||
for domain in $(/usr/local/vesta/bin/v-list-web-domains $user plain |cut -f 1); do
|
||||
if [ -f "/usr/local/vesta/data/users/$user/dns/$domain.conf" ]; then
|
||||
NEWIPV4=$(v-list-dns-domain "$user" "$domain" | grep 'IP:' | awk '{print $2}')
|
||||
NEWIPV4=$(/usr/local/vesta/bin/v-list-dns-domain "$user" "$domain" | grep 'IP:' | awk '{print $2}')
|
||||
res=$(grep "'www'" /usr/local/vesta/data/users/$user/dns/$domain.conf)
|
||||
eval $res
|
||||
OLDIPV4=$VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue