summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 03:16:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 03:16:44 +0000
commit52d72d2eb94c7005f71f2e32870e0956818f9620 (patch)
treeb09d0f7d9ac853b543075627ac60b2064d6b6bf7 /etc
parent9583064a753562b9db71b63c9216226f0bdc7a82 (diff)
downloadpfsense-52d72d2eb94c7005f71f2e32870e0956818f9620.zip
pfsense-52d72d2eb94c7005f71f2e32870e0956818f9620.tar.gz
Remove sleep
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 9566820..ea2d83a 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -936,15 +936,12 @@ function system_ntp_configure() {
/* if openntpd is running, kill it */
while(is_process_running("ntpd")) {
mwexec("/usr/bin/killall ntpd", true);
- sleep(3);
}
/* if /var/empty does not exist, create it */
if(!is_dir("/var/empty"))
exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/.");
- sleep(1);
-
if($g['booting'])
return;
@@ -1156,4 +1153,4 @@ function enable_watchdog() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud