Change freedns provider name on inadyn upgrade

This commit is contained in:
Bob Mottram 2018-05-12 19:10:46 +01:00
parent df312b118e
commit 1416af54a5
1 changed files with 5 additions and 0 deletions

View File

@ -461,6 +461,11 @@ function upgrade_inadyn_config {
return
fi
if [[ "$DDNS_PROVIDER" == "default@freedns.afraid.org" ]]; then
DDNS_PROVIDER='freedns'
write_config_param DDNS_PROVIDER "$DDNS_PROVIDER"
fi
{ echo 'period = 300';
echo 'user-agent = Mozilla/5.0';
echo '';