diff options
Diffstat (limited to 'udev/rules.d/88-clock.rules')
-rw-r--r-- | udev/rules.d/88-clock.rules | 4 |
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" |