aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-01 16:25:11 -0500
committerBill Nottingham <notting@redhat.com>2010-02-11 16:28:51 -0500
commit4d178d2e2b61138c83349402a12f2718b5b5a648 (patch)
tree37fef3a3efbb1bfc9d4c69c008aaa320386b412f /udev
parent8534b1fc85109a6a6805ecf1a4f9ba2945c70659 (diff)
downloadinitscripts-4d178d2e2b61138c83349402a12f2718b5b5a648.tar
initscripts-4d178d2e2b61138c83349402a12f2718b5b5a648.tar.gz
initscripts-4d178d2e2b61138c83349402a12f2718b5b5a648.tar.bz2
initscripts-4d178d2e2b61138c83349402a12f2718b5b5a648.tar.xz
initscripts-4d178d2e2b61138c83349402a12f2718b5b5a648.zip
Deal with the udev change of the week.
SYSFS deprecated, ATTR is the new paradigm. (#560756)
Diffstat (limited to 'udev')
-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"