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
fe4566b0
Commit
fe4566b0
authored
Apr 08, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix parameter for webgui restart delay
parent
98f2edac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
rc.restart_webgui
src/etc/rc.restart_webgui
+2
-2
diag_logs_settings.php
src/www/diag_logs_settings.php
+1
-1
system_advanced_admin.php
src/www/system_advanced_admin.php
+1
-1
No files found.
src/etc/rc.restart_webgui
View file @
fe4566b0
...
...
@@ -7,9 +7,9 @@ require_once('shaper.inc');
require_once
(
'captiveportal.inc'
);
require_once
(
'rrd.inc'
);
if
(
count
(
$argv
)
>
1
&&
$argv
[
1
]
==
'delayed'
)
{
if
(
count
(
$argv
)
>
1
&&
is_numeric
(
$argv
[
1
])
)
{
// starting delayed.
sleep
(
2
);
sleep
(
$argv
[
1
]
);
}
echo
'Restarting webConfigurator...'
;
...
...
src/www/diag_logs_settings.php
View file @
fe4566b0
...
...
@@ -160,7 +160,7 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) {
ob_flush
();
flush
();
log_error
(
gettext
(
"webConfigurator configuration has changed. Restarting webConfigurator."
));
configd_run
(
"webgui restart
delayed
"
,
true
);
configd_run
(
"webgui restart
2
"
,
true
);
$savemsg
.=
"<br />"
.
gettext
(
"WebGUI process is restarting."
);
}
...
...
src/www/system_advanced_admin.php
View file @
fe4566b0
...
...
@@ -615,7 +615,7 @@ if ($restart_webgui) {
ob_flush
();
flush
();
log_error
(
gettext
(
"webConfigurator configuration has changed. Restarting webConfigurator."
));
configd_run
(
"webgui restart
delayed
"
,
true
);
configd_run
(
"webgui restart
2
"
,
true
);
}
?>
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