mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
We need to start services in the background to prevent blocking.
This commit is contained in:
parent
12123e25f9
commit
b9083801ea
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user