On my Beaglebone Black I added a I2C real-time-clock to not being reliant on ntpd to maintain accurate timing. The outcome is that there are two special device files in
/dev. These are
/dev/rtc1 but there is also
/dev/rtc which is a symlink to
/dev/rtc0 is the real-time-clock within the ARM SOC on the board,
/dev/rtc1 is the I2C device. At the moment I'm using scripts that read and write the time manually to the I2C clock but I'd rather like the symlink
/dev/rtc to point to
Hence the question, how can this be done? The Linux distro on my beaglebone black is Arch Linux which uses systemd for all the house keeping.
When I delete the symlink and create a new one pointing to
/dev/rtc1 not surprisingly it is reset after the next reboot and I didn't find any config files or systemd-units so far.
Help is much appreciated.