summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-05-29 10:23:10 -0400
committerBill Nottingham <notting@redhat.com>2008-06-19 11:39:00 -0400
commit3b9c520b29c517f876636acfdc89595c5ce8dd3c (patch)
tree1a4bac1f32038f7aa31e58ef50c2bd037da6205c
parent8548503aa4ec7c5725822664dee172084cc30965 (diff)
downloadinitscripts-3b9c520b29c517f876636acfdc89595c5ce8dd3c.tar.gz
initscripts-3b9c520b29c517f876636acfdc89595c5ce8dd3c.tar.xz
initscripts-3b9c520b29c517f876636acfdc89595c5ce8dd3c.zip
Fix clock rules to properly handle old-style RTC devices (#447019)initscripts-8.77-1
-rw-r--r--udev/rules.d/88-clock.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/rules.d/88-clock.rules b/udev/rules.d/88-clock.rules
index 18aa7a2c..4b574163 100644
--- a/udev/rules.d/88-clock.rules
+++ b/udev/rules.d/88-clock.rules
@@ -1,2 +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"
+ACTION=="add", ENV{MAJOR}=="10", ENV{MINOR}=="135", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"