]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd: do not redirect to /dev/console
authorHarald Hoyer <harald@redhat.com>
Wed, 20 Jun 2012 23:02:48 +0000 (01:02 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 20 Jun 2012 23:11:44 +0000 (01:11 +0200)
modules.d/98systemd/dracut-cmdline.sh
modules.d/98systemd/dracut-initqueue.sh
modules.d/98systemd/dracut-pre-pivot.sh
modules.d/98systemd/dracut-pre-trigger.sh
modules.d/98systemd/dracut-pre-udev.sh

index 26ca9c261cb8944a0d03c0c325aba11705522bae..e1a75ea1b388b6241ad443aeeac33c744c72748e 100755 (executable)
@@ -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
index 5d51a8022c9d834f6885661bb4f9c80d01fa4c01..830dbee2b540189d403086ee615298ed8c1f3f0e 100755 (executable)
@@ -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 || :
index a8e9fc13d043efdd67940b1905b08eb28d0e58a8..eb7e93246394b500b9487f91a1fcd07b741c6b87 100755 (executable)
@@ -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
index 0539a01b182c92fb60af933fafb27d02480f6c87..9521eaa2fe51203a979c83e9077d6e3e8849282b 100755 (executable)
@@ -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 || :
index 57401749387c6aba757c0d5a1ee732845cd3f054..3b5ac370e9e18843fe030ab80d44c41eae7ffa3c 100755 (executable)
@@ -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