PKGBUILDs/alarm/fake-hwclock/fake-hwclock.install
omor1 d25aaad848 alarm/fake-hwclock: Correct suggested cron job.
The cron job should save the current time to disk every 15 minutes, not reset the time to what it originally was.
2013-12-22 18:14:15 -07:00

12 lines
402 B
Plaintext

post_install () {
echo "**********************************************************************"
echo "To keep fake-hwclock up to date in case of a power failure, add the"
echo "following job to root crontab: "
echo "*/15 * * * * /usr/lib/systemd/scripts/fake-hwclock.sh save"
echo "**********************************************************************"
}
post_upgrade () {
post_install
}