xanmanning / alarm-fake-hwclock

Fake HWClock script for RPi Arch Linux Arm (replicates Raspbian's fake-hwclock)
Other
36 stars 11 forks source link

Alternate timestamp file #6

Closed sdgathman closed 3 years ago

sdgathman commented 7 years ago

I added an optional argument for a file to use instead of /usr/bin/fake-hwclock to store the timestamp.

Thanks for posting this! It's exactly what I needed. While fake-hwclock.c is pretty trivial, figuring out where to insert the systemd service is NOT trivial. You did the hard lifting.