ddns.cgi: Use ddnsctrl for instant update.

This commit is contained in:
Stefan Schantl
2015-04-26 16:52:52 +02:00
parent 1a8999b3d6
commit 023919034a

View File

@@ -44,10 +44,8 @@ my $settingsfile = "${General::swroot}/ddns/settings";
# Config file to store the configured ddns providers.
my $datafile = "${General::swroot}/ddns/config";
# Dynamic ddns programm call.
my @ddnsprog = ("/usr/bin/ddns", "--config",
"/var/ipfire/ddns/ddns.conf",
"update-all");
# Call the ddnsctrl helper binary to perform the update.
my @ddnsprog = ("/usr/local/bin/ddnsctrl", "update-all");
my %settings=();
my $errormessage = '';