Browse Source

base: send DRACUT_LOG_END to loginit at the end

master
Harald Hoyer 15 years ago
parent
commit
9bfff3746f
  1. 1
      modules.d/99base/init
  2. 1
      modules.d/99base/loginit

1
modules.d/99base/init

@ -12,6 +12,7 @@ wait_for_loginit()
{ {
if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then
set +x set +x
echo "DRACUT_LOG_END"
exec 0<>/dev/console 1<>/dev/console 2<>/dev/console exec 0<>/dev/console 1<>/dev/console 2<>/dev/console
# wait for loginit # wait for loginit
i=0 i=0

1
modules.d/99base/loginit

@ -11,6 +11,7 @@ QUIET=$1
exec 6>/init.log exec 6>/init.log


while read line; do while read line; do
[ "$line" == "DRACUT_LOG_END" ] && exit 0
echo "<7>dracut: $line" >&5 echo "<7>dracut: $line" >&5
# if "quiet" is specified we output to /dev/console # if "quiet" is specified we output to /dev/console
[ -n "$QUIET" ] && echo "dracut: $line" [ -n "$QUIET" ] && echo "dracut: $line"

Loading…
Cancel
Save