ddns-scripts: also read providers from custom directory
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 28 Sep 2020 13:12:03 +0000 (15:12 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 28 Sep 2020 13:28:27 +0000 (15:28 +0200)
commit8d10cdda08445123067847aa748bcece528664c0
treea8b64f9960511549d2e1eb2b4bc5ee12ccd9d11f
parent8be604072cbe9652f608dcd6671ae8b029f3fbaa
ddns-scripts: also read providers from custom directory

The provider could also be read from the custom directory. To get always
the latest version of the provider config json file, we read first the custom
directory and after that we also check the default directory, if we could not
find the provider file

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh