From: Victor Lowther Date: Fri, 20 Mar 2009 07:25:13 +0000 (-0500) Subject: Silence in the initramfs is golden. X-Git-Tag: 0.1~282^2~12^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5c7c7e829bb348f91d55659e3c63fbfe7ad17e5;p=thirdparty%2Fdracut.git Silence in the initramfs is golden. Get rid of gratuitous text -- we should only talk if asking a question or if something screwed up. --- diff --git a/modules.d/99base/init b/modules.d/99base/init index 5661d6000..ca6121e58 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -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