arcdns: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-07 13:53:32 +02:00
parent ff04f39553
commit e61b25106e

View File

@ -17,7 +17,7 @@ if [ -f "/etc/ddns_provider.conf" ]; then
else
echo "arcdns: Entry ${ENTRY} does not exist, adding now"
echo "${ENTRY}" >> /etc/ddns_provider.conf
echo " modulepath=/usr/syno/bin/ddns/namecheap.php" >> /etc/ddns_provider.conf
echo " modulepath=/usr/syno/bin/ddns/arcdns.php" >> /etc/ddns_provider.conf
echo " queryurl=https://arcdns.tech/update/__HOSTNAME__/__PASSWORD__" >> /etc/ddns_provider.conf
fi
fi
@ -27,7 +27,7 @@ if [ -f "/etc.defaults/ddns_provider.conf" ]; then
else
echo "arcdns: Entry ${ENTRY} does not exist, adding now"
echo "${ENTRY}" >> /etc.defaults/ddns_provider.conf
echo " modulepath=/usr/syno/bin/ddns/namecheap.php" >> /etc.defaults/ddns_provider.conf
echo " modulepath=/usr/syno/bin/ddns/arcdns.php" >> /etc.defaults/ddns_provider.conf
echo " queryurl=https://arcdns.tech/update/__HOSTNAME__/__PASSWORD__" >> /etc.defaults/ddns_provider.conf
fi
fi