Commit b46a48f1 authored by Franco Fichtner's avatar Franco Fichtner

rfc2136: support $verbose for configure #1478

parent 52131f1d
......@@ -121,7 +121,7 @@ function dyndns_configure_do($verbose = false, $int = '')
}
if ($verbose) {
echo 'Starting dynamic DNS clients...';
echo 'Configuring dynamic DNS clients...';
flush();
}
......
......@@ -48,6 +48,11 @@ function rfc2136_configure_do($verbose = false, $int = '', $updatehost = '', $fo
$notify_text = '';
if ($verbose) {
echo 'Configuring RFC 2136 clients...';
flush();
}
foreach ($config['dnsupdates']['dnsupdate'] as $i => $dnsupdate) {
if (!isset($dnsupdate['enable'])) {
continue;
......@@ -179,4 +184,8 @@ EOD;
if (!empty($notify_text)) {
notify_all_remote($notify_text);
}
if ($verbose) {
echo "done.\n";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment