aboutsummaryrefslogtreecommitdiffstats
path: root/udev/rules.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-01 16:25:11 -0500
committerBill Nottingham <notting@redhat.com>2010-02-01 16:25:11 -0500
commit24c103954adbc8339ca79e8646fb42c5d8ec4259 (patch)
tree5fd3186d93489fa09e16d947c79ac8fdc47105b6 /udev/rules.d
parenta67b4dad9548082cbc79536c46281d390d99faf6 (diff)
downloadinitscripts-24c103954adbc8339ca79e8646fb42c5d8ec4259.tar
initscripts-24c103954adbc8339ca79e8646fb42c5d8ec4259.tar.gz
initscripts-24c103954adbc8339ca79e8646fb42c5d8ec4259.tar.bz2
initscripts-24c103954adbc8339ca79e8646fb42c5d8ec4259.tar.xz
initscripts-24c103954adbc8339ca79e8646fb42c5d8ec4259.zip
Deal with the udev change of the week.
SYSFS deprecated, ATTR is the new paradigm. (#560756)
Diffstat (limited to 'udev/rules.d')
-rw-r--r--udev/rules.d/88-clock.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/rules.d/88-clock.rules b/udev/rules.d/88-clock.rules
index c2e83e99..d7162982 100644
--- a/udev/rules.d/88-clock.rules
+++ b/udev/rules.d/88-clock.rules
@@ -1,3 +1,3 @@
-ACTION=="add", SUBSYSTEM=="rtc", SYSFS{hctosys}=="1", RUN+="/sbin/hwclock --systz --rtc=/dev/%k"
-ACTION=="add", SUBSYSTEM=="rtc", SYSFS{hctosys}=="0", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"
+ACTION=="add", SUBSYSTEM=="rtc", ATTR{hctosys}=="1", RUN+="/sbin/hwclock --systz --rtc=/dev/%k"
+ACTION=="add", SUBSYSTEM=="rtc", ATTR{hctosys}=="0", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"
ACTION=="add", ENV{MAJOR}=="10", ENV{MINOR}=="135", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k"