base: send DRACUT_LOG_END to loginit at the end

master
Harald Hoyer 2010-10-28 17:10:17 +02:00
parent b2559a8895
commit 9bfff3746f
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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"