]> err.no Git - util-linux/commit
hwclock: add --predict for predicting RTC reading at a given time
authorTimo Juhani Lindfors <timo.lindfors@iki.fi>
Sat, 13 Mar 2010 10:28:50 +0000 (12:28 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 29 Mar 2010 08:30:01 +0000 (10:30 +0200)
commit2e5627fa032967512a5f55c933af4216c5b672e0
tree95838007e77b972b2d7cb33e54fbea6ce5728388
parent8ab43e6a67760f6ccb30141f8419c1b0dbfa2605
hwclock: add --predict for predicting RTC reading at a given time

Implement new option --predict that predicts what the RTC will read
at a time given by the --date option. This is useful for example if
you need to setup an RTC wakeup time to distant future and want to
account for the RTC drift.

Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
hwclock/hwclock.8
hwclock/hwclock.c