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.

glc78
  • 481
  • 2
  • 6
  • 13

1 Answers1

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.

Pilot6
  • 88,764
  • 91
  • 205
  • 313