summaryrefslogtreecommitdiff
path: root/debian/hwclock.rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/hwclock.rules')
-rw-r--r--debian/hwclock.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/hwclock.rules b/debian/hwclock.rules
new file mode 100644
index 00000000..e1e66e2e
--- /dev/null
+++ b/debian/hwclock.rules
@@ -0,0 +1,4 @@
+# Reset the System Clock to UTC if the hardware clock from which it was
+# copied by the kernel was in localtime.
+
+KERNEL=="rtc0", RUN+="/lib/udev/hwclock-set $root/$name"