summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-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