Put this on background to avoid delays.

This commit is contained in:
Ermal Lui 2010-03-08 23:15:18 +00:00
parent 9f695b0fc8
commit 98d269af64

View File

@ -693,7 +693,7 @@ function system_webgui_start() {
$proto = "http";
if ($config['system']['webgui']['protocol'])
$proto = $config['system']['webgui']['protocol'];
mwexec("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php");
mwexec("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php &");
if ($g['booting']) {
if ($res == 0)