Mailinglist Archive: yast-commit (553 mails)

< Previous Next >
[yast-commit] <web-client> backgroud_patches_bnc550934 : fix passing hardware clock settings to ntp (bnc#556467)
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Fri, 4 Dec 2009 15:35:53 +0100
  • Message-id: <E1NLfcy-0004w8-Hk@xxxxxxxxxxxxxxxx>
ref: refs/heads/backgroud_patches_bnc550934
commit abc98e3b4da9c1a6c18dd02d65ade3b8ab496482
Author: Josef Reidinger <jreidinger@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages