diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/system.inc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index e1b096e..c44dfab 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1892,24 +1892,6 @@ function system_ntp_configure($start_ntpd=true) { return; } -function sync_system_time() { - global $config, $g; - - if (platform_booting()) { - echo gettext("Syncing system time before startup..."); - } - - /* foreach through servers and write out to ntpd.conf */ - foreach (explode(' ', $config['system']['timeservers']) as $ts) { - mwexec("/usr/local/sbin/ntpdate -s $ts"); - } - - if (platform_booting()) { - echo gettext("done.") . "\n"; - } - -} - function system_halt() { global $g; |