diff options
author | Bill Nottingham <notting@redhat.com> | 2008-02-01 22:25:07 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-02-01 22:25:07 +0000 |
commit | b364ab51d8794e5f336fbb0ba7ee746bceac2c48 (patch) | |
tree | fc28311a364ecd3d03a47c400e2eda67c5cdac3b /udev/rules.d/88-clock.rules | |
parent | 09e562fcdce7c9040a934f44554fe917895e805c (diff) | |
download | initscripts-b364ab51d8794e5f336fbb0ba7ee746bceac2c48.tar initscripts-b364ab51d8794e5f336fbb0ba7ee746bceac2c48.tar.gz initscripts-b364ab51d8794e5f336fbb0ba7ee746bceac2c48.tar.bz2 initscripts-b364ab51d8794e5f336fbb0ba7ee746bceac2c48.tar.xz initscripts-b364ab51d8794e5f336fbb0ba7ee746bceac2c48.zip |
use udev rules to set the clock, avoiding issues with modular rtcs (#290731)
Diffstat (limited to 'udev/rules.d/88-clock.rules')
-rw-r--r-- | udev/rules.d/88-clock.rules | 2 |
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" |