From: Harald Hoyer Date: Thu, 28 Oct 2010 15:10:17 +0000 (+0200) Subject: base: send DRACUT_LOG_END to loginit at the end X-Git-Tag: 008~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bfff3746fc56cbaab0f1e561fe435352a6c8410;p=thirdparty%2Fdracut.git base: send DRACUT_LOG_END to loginit at the end --- diff --git a/modules.d/99base/init b/modules.d/99base/init index e9a049d4b..e7e8b9af9 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -12,6 +12,7 @@ wait_for_loginit() { if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then set +x + echo "DRACUT_LOG_END" exec 0<>/dev/console 1<>/dev/console 2<>/dev/console # wait for loginit i=0 diff --git a/modules.d/99base/loginit b/modules.d/99base/loginit index ad46008cd..74762621f 100755 --- a/modules.d/99base/loginit +++ b/modules.d/99base/loginit @@ -11,6 +11,7 @@ QUIET=$1 exec 6>/init.log while read line; do + [ "$line" == "DRACUT_LOG_END" ] && exit 0 echo "<7>dracut: $line" >&5 # if "quiet" is specified we output to /dev/console [ -n "$QUIET" ] && echo "dracut: $line"