]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ddns.cgi: Use ddnsctrl for instant update.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Apr 2015 14:52:52 +0000 (16:52 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Apr 2015 14:52:52 +0000 (16:52 +0200)
html/cgi-bin/ddns.cgi

index 3e6f72f987838359e4d740111fc878b67d0400d0..73a41d903fae41b47024f38ce18237adca36556c 100644 (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 = '';