Browse Source

systemd: do not redirect to /dev/console

master
Harald Hoyer 13 years ago
parent
commit
f6eb1f1d1f
  1. 2
      modules.d/98systemd/dracut-cmdline.sh
  2. 1
      modules.d/98systemd/dracut-initqueue.sh
  3. 1
      modules.d/98systemd/dracut-pre-pivot.sh
  4. 1
      modules.d/98systemd/dracut-pre-trigger.sh
  5. 1
      modules.d/98systemd/dracut-pre-udev.sh

2
modules.d/98systemd/dracut-cmdline.sh

@ -7,8 +7,6 @@ NEWROOT="/sysroot" @@ -7,8 +7,6 @@ NEWROOT="/sysroot"
[ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
[ -d /run/lock ] || mkdir -p -m 0755 /run/lock

exec </dev/console >/dev/console 2>&1

if [ -f /dracut-state.sh ]; then
. /dracut-state.sh || :
fi

1
modules.d/98systemd/dracut-initqueue.sh

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
exec </dev/console >/dev/console 2>&1

if [ -f /dracut-state.sh ]; then
. /dracut-state.sh || :

1
modules.d/98systemd/dracut-pre-pivot.sh

@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

exec </dev/console >/dev/console 2>&1
if [ -f /dracut-state.sh ]; then
. /dracut-state.sh || :
fi

1
modules.d/98systemd/dracut-pre-trigger.sh

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
exec </dev/console >/dev/console 2>&1

if [ -f /dracut-state.sh ]; then
. /dracut-state.sh || :

1
modules.d/98systemd/dracut-pre-udev.sh

@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

exec </dev/console >/dev/console 2>&1
if [ -f /dracut-state.sh ]; then
. /dracut-state.sh || :
fi

Loading…
Cancel
Save