Unverified Commit d597c614 authored by MegaS0ra's avatar MegaS0ra Committed by GitHub
Browse files

Update slave-retrieve.sh

parent d79b51b2
......@@ -51,7 +51,7 @@ do
echo -e "\\nVérification des zones sur le serveur $host (Plesk)\\n"
echo "$psa_sql" | mysql -N -h"$host" -u"$psa_user" -p"$psa_password" "$psa_db" > /opt/dns1zones.txt
else
if curl -s -L https://154.41.66.41:2222 -k | grep -i DirectAdmin > /dev/null
if curl -s -L https://"$host":2222 -k | grep -i DirectAdmin > /dev/null
then
echo -e "\\nVérification des zones sur le serveur $host (DirectAdmin)\\n"
ssh root@"$host" 'cat /etc/virtual/domainowners | cut -d ":" -f 1' > /opt/dns1zones.txt
......
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