Commit bf1e663a authored by Franco Fichtner's avatar Franco Fichtner

wizard: problematic webgui restart due to chaining it into reload all

parent 597adf4f
......@@ -43,6 +43,11 @@ global $config;
$config = parse_config(true);
if (count($argv) > 1 && is_numeric($argv[1])) {
// starting delayed.
sleep($argv[1]);
}
log_error("rc.reload_all: Reloading web GUI.");
system_webgui_configure(true);
......
[reload|restart.delay]
command:/usr/local/etc/rc.reload_all 2
parameters:
type:script
message:Reloading all
[reload|restart.all]
command:/usr/local/etc/rc.reload_all
parameters:
......
......@@ -636,7 +636,7 @@
</description>
<stepafterformdisplay>
<![CDATA[
configd_run('service reload all', true);
configd_run('service reload delay', true);
]]>
</stepafterformdisplay>
</step>
......
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