diff options
author | Bill Nottingham <notting@redhat.com> | 2009-11-17 16:01:57 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-11-17 16:03:06 -0500 |
commit | d26e72d8ee3e6b8e0de656647495efc18ae2e7ed (patch) | |
tree | 28cfa67cd984218f9fb107c9bf17c268300f42b9 | |
parent | 5cae4e332f15153bdd6c5d48b52f70cff239ef39 (diff) | |
download | initscripts-d26e72d8ee3e6b8e0de656647495efc18ae2e7ed.tar initscripts-d26e72d8ee3e6b8e0de656647495efc18ae2e7ed.tar.gz initscripts-d26e72d8ee3e6b8e0de656647495efc18ae2e7ed.tar.bz2 initscripts-d26e72d8ee3e6b8e0de656647495efc18ae2e7ed.tar.xz initscripts-d26e72d8ee3e6b8e0de656647495efc18ae2e7ed.zip |
Old-style RTC devices won't have the 'hctosys' attribute. Handle them correctly. (#537595)
-rw-r--r-- | udev/rules.d/88-clock.rules | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/rules.d/88-clock.rules b/udev/rules.d/88-clock.rules index 8beeeb88..c2e83e99 100644 --- a/udev/rules.d/88-clock.rules +++ b/udev/rules.d/88-clock.rules @@ -1,4 +1,3 @@ ACTION=="add", SUBSYSTEM=="rtc", SYSFS{hctosys}=="1", RUN+="/sbin/hwclock --systz --rtc=/dev/%k" -ACTION=="add", ENV{MAJOR}=="10", SYSFS{hctosys}=="1", ENV{MINOR}=="135", RUN+="/sbin/hwclock --systz --rtc=/dev/%k" ACTION=="add", SUBSYSTEM=="rtc", SYSFS{hctosys}=="0", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k" -ACTION=="add", ENV{MAJOR}=="10", SYSFS{hctosys}=="0", ENV{MINOR}=="135", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k" +ACTION=="add", ENV{MAJOR}=="10", ENV{MINOR}=="135", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k" |