base: send DRACUT_LOG_END to loginit at the end
parent
b2559a8895
commit
9bfff3746f
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue