diff options
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 4d5e7a3..9f8e100 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1034,12 +1034,16 @@ function sync_system_time() { $syscfg = $config['system']; if ($g['booting']) - echo "Syncing system time before startup ..."; + echo "Syncing system time before startup..."; /* foreach through servers and write out to ntpd.conf */ foreach (explode(' ', $syscfg['timeservers']) as $ts) { mwexec("/usr/sbin/ntpdate -s $ts"); } + + if ($g['booting']) + echo "done.\n"; + } function system_halt() { |