[yast-commit] <web-client> master : fix passing hardware clock settings to ntp (bnc#556467)
ref: refs/heads/master commit abc98e3b4da9c1a6c18dd02d65ade3b8ab496482 Author: Josef Reidinger <jreidinger@suse.cz> Date: Fri Dec 4 15:35:53 2009 +0100 fix passing hardware clock settings to ntp (bnc#556467) --- .../app/controllers/systemtime_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/systemtime/app/controllers/systemtime_controller.rb b/plugins/systemtime/app/controllers/systemtime_controller.rb index 1ad1e38..7f46fe8 100644 --- a/plugins/systemtime/app/controllers/systemtime_controller.rb +++ b/plugins/systemtime/app/controllers/systemtime_controller.rb @@ -96,10 +96,10 @@ class SystemtimeController < ApplicationController when "manual" fill_proxy_with_time t,params when "ntp_sync" - t.utcstatus = "UTC" #ntp implementation force utc in hardware clock (bnc#556467) ntp = load_proxy 'org.opensuse.yast.modules.yapi.ntp' return false unless ntp ntp.synchronize = true + ntp.synchronize_utc = (t.utcstatus=="UTC") begin ntp.save #FIXME check return value rescue Timeout::Error => e -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Josef Reidinger