aboutsummaryrefslogtreecommitdiffstats
path: root/udev/rules.d/88-clock.rules
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-11-17 16:01:57 -0500
committerBill Nottingham <notting@redhat.com>2009-11-17 16:01:57 -0500
commit751df4e901aec320bf219592123d962f2a862b5d (patch)
tree5b2efda5891f3c978a20186ceda60c2ea0c48a35 /udev/rules.d/88-clock.rules
parent0ef4bb7b25a59f0cd703e24f067dcb741ab5de68 (diff)
downloadinitscripts-751df4e901aec320bf219592123d962f2a862b5d.tar
initscripts-751df4e901aec320bf219592123d962f2a862b5d.tar.gz
initscripts-751df4e901aec320bf219592123d962f2a862b5d.tar.bz2
initscripts-751df4e901aec320bf219592123d962f2a862b5d.tar.xz
initscripts-751df4e901aec320bf219592123d962f2a862b5d.zip
Old-style RTC devices won't have the 'hctosys' attribute. Handle them correctly. (#537595)
Diffstat (limited to 'udev/rules.d/88-clock.rules')
-rw-r--r--udev/rules.d/88-clock.rules3
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"