4

I'm trying to fix a date&time problem in my Ubuntu 17.04 but I cant't find mentioned file /etc/default/rcS. I find only this path /etc/rcS.d but I think it has nothing to do with UTC default setting. I'm looking for option UTC=yes/no.

0

1 Answer 1

6

Ubuntu 17.04+ is using systemd. To set your time to local run

timedatectl set-local-rtc 1 --adjust-system-clock

The /etc/default/rcS is for older Ubuntu releases that use upstart.

1
  • Yes, it's what I was looking for.
    – glc78
    Aug 10, 2017 at 12:22

Not the answer you're looking for? Browse other questions tagged .