# HG changeset patch # User Christophe Lincoln # Date 1236467584 -3600 # Node ID 56e723fa88e4aca57dac56a46ae883e086119fbf # Parent 828111de7082ea92beede398138728725c92d626 -4 sec for boot time ans less Kernel messages diff -r 828111de7082 -r 56e723fa88e4 etc/init.d/rcS --- a/etc/init.d/rcS Fri Feb 27 19:58:18 2009 +0100 +++ b/etc/init.d/rcS Sun Mar 08 00:13:04 2009 +0100 @@ -10,14 +10,12 @@ if [ "$1" != "logged" ]; then #logged -# Start by sleeping a bit. echo "Processing /etc/init.d/rcS... " -sleep 1 # Mount /proc. echo -n "Mounting proc filesystem... " /bin/mount proc -status && sleep 1 +status # Before mounting filesystems we check fs specified in the file # /etc/rcS.conf and variable $CHECK_FS. @@ -27,7 +25,6 @@ do echo "Checking filesystem on : $i" /sbin/e2fsck -p $i - sleep 2 done fi @@ -44,6 +41,12 @@ echo -n "Starting udev daemon..." /sbin/udevd --daemon status + echo -n "Udevadm requesting events from the Kernel..." + udevadm trigger + status + echo -n "Udevadm waiting for the event queu to finish..." + udevadm settle + status echo "/sbin/udevd" > /proc/sys/kernel/hotplug fi @@ -53,9 +56,6 @@ else #logged -# Create missing devices -mdev -s 2> /dev/null - # Create /dev/cdrom if needed (symlink does not exist on LiveCD). # Also add /dev/cdrom to fstab if entry does not exist. # @@ -172,6 +172,9 @@ done fi +# Be quit on configuration to avoid message overwriting ncrurses dialog +echo "0 0 0 0" > /proc/sys/kernel/printk + # Start all scripts specified with $RUN_SCRIPTS. echo "Executing all initialization scripts..." for script in $RUN_SCRIPTS @@ -194,6 +197,9 @@ fi done +# Back to a verbose mode. +echo "7 4 1 7" > /proc/sys/kernel/printk + # Reset screen and display a bold message. if [ -n "$MESSAGE" ]; then /usr/bin/reset