mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
edaec43cea
* PKGBUILD: modified to install directories with correct permissions (in case of a restrictive umask). * PKGBUILD: change arch to any as this is arch-indep. * fake-hwclock.sh: add 'load' command that sets the system time only if the current time is older; make 'set' an deprecated alias of it. * Add fake-hwclock-save timer and service that saves the time every 15 minutes. * install: suggest to enable timer unit instead of cron.
12 lines
283 B
Desktop File
12 lines
283 B
Desktop File
[Unit]
|
|
Description=Restore system time on boot and save it on shutdown
|
|
After=sysinit.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/lib/systemd/scripts/fake-hwclock.sh load
|
|
ExecStop=/usr/lib/systemd/scripts/fake-hwclock.sh save
|
|
RemainAfterExit=true
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|