Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
b46a48f1
Commit
b46a48f1
authored
Mar 19, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rfc2136: support $verbose for configure #1478
parent
52131f1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
dyndns.inc
src/etc/inc/plugins.inc.d/dyndns.inc
+1
-1
rfc2136.inc
src/etc/inc/plugins.inc.d/rfc2136.inc
+9
-0
No files found.
src/etc/inc/plugins.inc.d/dyndns.inc
View file @
b46a48f1
...
...
@@ -121,7 +121,7 @@ function dyndns_configure_do($verbose = false, $int = '')
}
if
(
$verbose
)
{
echo
'
Start
ing dynamic DNS clients...'
;
echo
'
Configur
ing dynamic DNS clients...'
;
flush
();
}
...
...
src/etc/inc/plugins.inc.d/rfc2136.inc
View file @
b46a48f1
...
...
@@ -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
"
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment