diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-04 17:18:58 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-04 17:18:58 -0300 |
commit | 67c934440521e8081d90850f4a10a40e82603db3 (patch) | |
tree | 0fb1d669d00e5fc5bcdf35c3693b6313fadcffb3 /src | |
parent | c9d73bf19948d878995cc9cc01488e8d9b07bbe1 (diff) | |
download | pfsense-67c934440521e8081d90850f4a10a40e82603db3.zip pfsense-67c934440521e8081d90850f4a10a40e82603db3.tar.gz |
Remove unused function sync_system_time()
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; |