duminică, 20 ianuarie 2013

Setting the time (OpenSUSE 12.2)

I don't want to set time to UTC. If I let it set to UTC, it is 2 hours in advance. I unchecked the box in YaST - System - Date and Time - "Hardware clock set to UTC", but it works only until restart or until update. For me the solution was the following command written in Terminal (of course, you need root permission, so type "sudo su" first):
      sudo echo -e "0.0 0 0.0\n0\nLOCAL" > /etc/adjtime 

Niciun comentariu:

Trimiteți un comentariu