aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-05-29 10:23:10 -0400
committerBill Nottingham <notting@redhat.com>2008-05-29 10:23:25 -0400
commit9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006 (patch)
treeeb8c99e6bdd99b06981e2f7e713dd8a346f367a3
parentff916646a8abd977d3514ffe8fc7a9d76704440e (diff)
downloadinitscripts-9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006.tar
initscripts-9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006.tar.gz
initscripts-9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006.tar.bz2
initscripts-9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006.tar.xz
initscripts-9086ebaafe1f67c5e9bd56bc52765ae0f1d7a006.zip
Fix clock rules to properly handle old-style RTC devices (#447019)
-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"