Detect if the clock seems to be going backwards
authorSteve McIntyre <steve@einval.com>
Mon, 5 Mar 2012 16:28:18 +0000 (16:28 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 5 Mar 2012 16:28:18 +0000 (16:28 +0000)
commita4e216faa05ce3967a4c6c55a038e3a042f284ed
treec767e6cc18da790a997e9fd6ea0c25916f222950
parent99dbeeb5f7f4304b1cdb4ed0b79a2e2014e26e10
Detect if the clock seems to be going backwards

Check if we're trying to set the clock backwards. If so, bail unless
we're explicitly told to in a config file. Thanks to Barak
A. Pearlmutter for the idea and (some of) the code. Closes: #661146.
debian/changelog
debian/fake-hwclock.init
debian/fake-hwclock.install
etc/default/fake-hwclock [new file with mode: 0644]
fake-hwclock