diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2009-05-23 12:29:29 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2009-05-23 12:29:29 +0000 |
commit | 63f6e217582aa7c11600efc6df9ebe249bc6e095 (patch) | |
tree | 53bbe08ae9a30040390b950522be3df69b65738c /udev-config/55-lfs.rules | |
parent | 33f0959e2b6661e3107617762a26270e770c8dad (diff) |
Change the bootsripts and udev configuration so the rtc is set by udev upon boot.
Removed aio device from udev configuration so defaults are used.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8902 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-config/55-lfs.rules')
-rw-r--r-- | udev-config/55-lfs.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev-config/55-lfs.rules b/udev-config/55-lfs.rules index 732fcde88..2959a2a13 100644 --- a/udev-config/55-lfs.rules +++ b/udev-config/55-lfs.rules @@ -2,8 +2,8 @@ # Core kernel devices -KERNEL=="aio", MODE="0444" -KERNEL=="rtc", MODE="0666" +# 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" # Comms devices |