aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/rules.d/88-clock.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/rules.d/88-clock.rules b/udev/rules.d/88-clock.rules
new file mode 100644
index 00000000..18aa7a2c
--- /dev/null
+++ b/udev/rules.d/88-clock.rules
@@ -0,0 +1,2 @@
+ACTION=="add", SUBSYSTEM=="rtc", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"
+ACTION=="add", MAJOR==10, MINOR==135, RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"