summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-30 03:21:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-30 03:21:44 +0000
commit2fc057fdd98ff72e69f8ce36a23435bfbf284d27 (patch)
treea0aae00614b635bb5e9589580309e6dab86a0292 /etc
parentc19a49e0b6a9065e00b9910d019b6fb62c6a5596 (diff)
downloadpfsense-2fc057fdd98ff72e69f8ce36a23435bfbf284d27.zip
pfsense-2fc057fdd98ff72e69f8ce36a23435bfbf284d27.tar.gz
Correctly detect start script
Diffstat (limited to 'etc')
-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