From: Stefan Schantl Date: Sun, 26 Apr 2015 14:52:52 +0000 (+0200) Subject: ddns.cgi: Use ddnsctrl for instant update. X-Git-Tag: v2.17-core91~91^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=023919034a6bcc31cd4032192862894b695fd94e;p=ipfire-2.x.git ddns.cgi: Use ddnsctrl for instant update. --- diff --git a/html/cgi-bin/ddns.cgi b/html/cgi-bin/ddns.cgi index 3e6f72f987..73a41d903f 100644 --- a/html/cgi-bin/ddns.cgi +++ b/html/cgi-bin/ddns.cgi @@ -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 = '';