]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Silence in the initramfs is golden.
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 20 Mar 2009 07:25:13 +0000 (02:25 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Fri, 20 Mar 2009 08:08:40 +0000 (03:08 -0500)
Get rid of gratuitous text -- we should only talk if asking a question or
if something screwed up.

modules.d/99base/init

index 5661d6000b3a9d0f0d41b518b155d03ae1e14352..ca6121e58b0e2ccea7a41486ceeebacdefd77c00 100755 (executable)
@@ -28,7 +28,6 @@ source_all() {
     for f in "/$1"/*.sh; do [ -f "$f" ] && . "$f"; done
 }
 
-echo "Starting initrd..."
 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
 export TERM=linux
 trap "emergency_shell" 0
@@ -77,6 +76,7 @@ while :; do
     [ $i -gt 10 ] && emergency_shell
 done
 
+# pre pivot scripts are sourced just before we switch over to the new root.
 getarg 'break=pre-pivot' && emergency_shell
 source_all pre-pivot
 
@@ -91,11 +91,8 @@ done
     emergency_shell
 }
 
-# pre pivot scripts are sourced just before we switch over to the new root.
-
 getarg break && emergency_shell
 kill $(pidof udevd)
-echo "Switching to real root filesystem $root"
 initargs=""
 for x in $CMDLINE; do
     [ "${x%%=*}" = "console" -o "${x%%=*}" = "BOOT_IMAGE" ] && continue