From 9bfff3746fc56cbaab0f1e561fe435352a6c8410 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 28 Oct 2010 17:10:17 +0200 Subject: [PATCH] base: send DRACUT_LOG_END to loginit at the end --- modules.d/99base/init | 1 + modules.d/99base/loginit | 1 + 2 files changed, 2 insertions(+) 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" -- 2.47.3