We need to start services in the background to prevent blocking.

This commit is contained in:
Colin Smith 2005-06-22 19:13:13 +00:00
parent 12123e25f9
commit b9083801ea

View File

@ -70,7 +70,7 @@ function start_service($name) {
} else {
$prefix = "/usr/local/etc/rc.d/";
}
mwexec($prefix . $service['rcfile'] . " start");
mwexec_bg($prefix . $service['rcfile'] . " start");
}
if($service['startcmd']) {
eval($service['startcmd']);