From 63f6e217582aa7c11600efc6df9ebe249bc6e095 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 23 May 2009 12:29:29 +0000 Subject: 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 --- udev-config/55-lfs.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'udev-config/55-lfs.rules') 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 -- cgit v1.2.3-54-g00ecf