aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config/55-lfs.rules
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2009-09-26 01:44:50 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2009-09-26 01:44:50 +0000
commit17b7b2447e28c8132aa1fc0876beebfa7f5881ad (patch)
tree2943513d91b3ff5aeb940804576855f52bce5882 /udev-config/55-lfs.rules
parent35cba41039a3f14f1da2ffa19f3079e68a225fcf (diff)
Duplicate the RTC-setting rule for non-rtc-class kernels. Move the assignment to MODE after the match on ACTION. Add a missing changelog entry (copied from svn log, then reworded).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9076 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-config/55-lfs.rules')
-rw-r--r--udev-config/55-lfs.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev-config/55-lfs.rules b/udev-config/55-lfs.rules
index 2959a2a13..8305ef633 100644
--- a/udev-config/55-lfs.rules
+++ b/udev-config/55-lfs.rules
@@ -3,7 +3,8 @@
# Core kernel devices
# This causes the system clock to be set as soon as /dev/rtc becomes available.
-SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", RUN+="/etc/rc.d/init.d/setclock start"
+SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
+KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
# Comms devices