From 3b9c520b29c517f876636acfdc89595c5ce8dd3c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 29 May 2008 10:23:10 -0400 Subject: Fix clock rules to properly handle old-style RTC devices (#447019) --- udev/rules.d/88-clock.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev') 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" -- cgit v1.2.1