Skip to main content
Topic: Runit hwclock configuration (Read 894 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Runit hwclock configuration

Recently I was distrohopping and used to dualboot my linux systems with windows. Thus, my hardware clock was set to localtime (UTC+3) and I was to setup this setting in linux installations. This happens in different ways in different distros, but I was unable to set this param in Artix-runit (setting HARDWARECLOCK='localtime' in /etc/rc/rc.conf had no effect), so I just commented out clock configuration in /etc/rc/sysinit/15-hwclock.

But now I'm studying runit scripts in Artix and it seems to me that /usr/lib/rc/sv.d/hwclock (the file to which /etc/rc/sysinit/15-hwclock is linked to) just doesn't include /etc/rc/rc.conf. It lacks the line

Code: [Select]
. /etc/rc/rc.conf

in the beginning, so there is no predefined HARDWARECLOCK parameter in it. That's why changing it in rc.conf had no effect.

Re: Runit hwclock configuration

Reply #1
runit-rc-20210122 has been released to address this issue. Thanks for the report.
now only the dinit guy in artix