diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-30 01:47:42 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-30 01:47:42 +0000 |
commit | 34f7437fc8c89c816c319d3d76a233916349301c (patch) | |
tree | a3c397e9af10dbadfde27dd5acd025d34f98538b /etc/inc | |
parent | 4685e46446f44300cddeff1438e78933729af6a8 (diff) | |
download | pfsense-34f7437fc8c89c816c319d3d76a233916349301c.zip pfsense-34f7437fc8c89c816c319d3d76a233916349301c.tar.gz |
Correctly start services from /usr/local/etc/rc.d/ first before any other method
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/service-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc index ff8c03d..bb26205 100644 --- a/etc/inc/service-utils.inc +++ b/etc/inc/service-utils.inc @@ -63,9 +63,9 @@ function start_service($name) { global $config; /* make sure service is stopped before starting */ stop_service($name); - sleep(1); + sleep(2); if(file_exists("/usr/local/etc/rc.d/{$name}.sh")) { - exec("/usr/local/etc/rc.d/{$name}.sh start"); + exec("/bin/sh /usr/local/etc/rc.d/{$name}.sh start"); return; } if($config['installedpackages']['service']) { |