|
Harald Hoyer |
e3ef57 |
From f6eb1f1d1f608b9b9983bdfaf4a867143e21b2b7 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
e3ef57 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
e3ef57 |
Date: Thu, 21 Jun 2012 01:02:48 +0200
|
|
Harald Hoyer |
e3ef57 |
Subject: [PATCH] systemd: do not redirect to /dev/console
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
---
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-cmdline.sh | 2 --
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-initqueue.sh | 1 -
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-pre-pivot.sh | 1 -
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-pre-trigger.sh | 1 -
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-pre-udev.sh | 1 -
|
|
Harald Hoyer |
e3ef57 |
5 files changed, 6 deletions(-)
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh
|
|
Harald Hoyer |
e3ef57 |
index 26ca9c2..e1a75ea 100755
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-cmdline.sh
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-cmdline.sh
|
|
Harald Hoyer |
e3ef57 |
@@ -7,8 +7,6 @@ NEWROOT="/sysroot"
|
|
Harald Hoyer |
e3ef57 |
[ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
|
|
Harald Hoyer |
e3ef57 |
[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
-exec </dev/console >/dev/console 2>&1
|
|
Harald Hoyer |
e3ef57 |
-
|
|
Harald Hoyer |
e3ef57 |
if [ -f /dracut-state.sh ]; then
|
|
Harald Hoyer |
e3ef57 |
. /dracut-state.sh || :
|
|
Harald Hoyer |
e3ef57 |
fi
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
e3ef57 |
index 5d51a80..830dbee 100755
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
e3ef57 |
@@ -1,7 +1,6 @@
|
|
Harald Hoyer |
e3ef57 |
#!/bin/sh
|
|
Harald Hoyer |
e3ef57 |
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
Harald Hoyer |
e3ef57 |
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
Harald Hoyer |
e3ef57 |
-exec </dev/console >/dev/console 2>&1
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
if [ -f /dracut-state.sh ]; then
|
|
Harald Hoyer |
e3ef57 |
. /dracut-state.sh || :
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-pre-pivot.sh b/modules.d/98systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
e3ef57 |
index a8e9fc1..eb7e932 100755
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
e3ef57 |
@@ -2,7 +2,6 @@
|
|
Harald Hoyer |
e3ef57 |
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
Harald Hoyer |
e3ef57 |
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
-exec </dev/console >/dev/console 2>&1
|
|
Harald Hoyer |
e3ef57 |
if [ -f /dracut-state.sh ]; then
|
|
Harald Hoyer |
e3ef57 |
. /dracut-state.sh || :
|
|
Harald Hoyer |
e3ef57 |
fi
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-pre-trigger.sh b/modules.d/98systemd/dracut-pre-trigger.sh
|
|
Harald Hoyer |
e3ef57 |
index 0539a01..9521eaa 100755
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-pre-trigger.sh
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-pre-trigger.sh
|
|
Harald Hoyer |
e3ef57 |
@@ -1,7 +1,6 @@
|
|
Harald Hoyer |
e3ef57 |
#!/bin/sh
|
|
Harald Hoyer |
e3ef57 |
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
Harald Hoyer |
e3ef57 |
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
Harald Hoyer |
e3ef57 |
-exec </dev/console >/dev/console 2>&1
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
if [ -f /dracut-state.sh ]; then
|
|
Harald Hoyer |
e3ef57 |
. /dracut-state.sh || :
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-pre-udev.sh b/modules.d/98systemd/dracut-pre-udev.sh
|
|
Harald Hoyer |
e3ef57 |
index 5740174..3b5ac37 100755
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-pre-udev.sh
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-pre-udev.sh
|
|
Harald Hoyer |
e3ef57 |
@@ -2,7 +2,6 @@
|
|
Harald Hoyer |
e3ef57 |
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
Harald Hoyer |
e3ef57 |
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
-exec </dev/console >/dev/console 2>&1
|
|
Harald Hoyer |
e3ef57 |
if [ -f /dracut-state.sh ]; then
|
|
Harald Hoyer |
e3ef57 |
. /dracut-state.sh || :
|
|
Harald Hoyer |
e3ef57 |
fi
|