summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/service-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc
index e311fbd..63a0a85 100644
--- a/etc/inc/service-utils.inc
+++ b/etc/inc/service-utils.inc
@@ -75,7 +75,7 @@ function start_service($name) {
if(file_exists($prefix . $service['rcfile']))
mwexec_bg($prefix . $service['rcfile'] . " start");
if(file_exists("/usr/local/etc/rc.d/{$name}.sh"))
- mwexec_bg($prefix . $service['rcfile'] . " start");
+ mwexec_bg("/usr/local/etc/rc.d/{$name}.sh start");
}
if($service['startcmd']) {
eval($service['startcmd']);
OpenPOWER on IntegriCloud