File 0589-Fix-displaying-text-on-emergency-consoles.patch of Package dracut.10404

From 71ac8784994c2703ec4313821b3a314326255b65 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Mon, 4 Feb 2019 14:43:04 +0100
Subject: [PATCH] Fix displaying text on emergency consoles

Reference: boo#1124088
---
 modules.d/98dracut-systemd/dracut-emergency.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dracut-044/modules.d/98dracut-systemd/dracut-emergency.sh
===================================================================
--- dracut-044.orig/modules.d/98dracut-systemd/dracut-emergency.sh
+++ dracut-044/modules.d/98dracut-systemd/dracut-emergency.sh
@@ -33,7 +33,7 @@ if getargbool 1 rd.shell -d -y rdshell |
             echo
             [ -f "$FSTXT" ] && cat "$FSTXT"
         ) > /dev/$_tty
-    done < /dev/consoles
+    done < /dev/console
     [ -f /etc/profile ] && . /etc/profile
     [ -z "$PS1" ] && export PS1="$_name:\${PWD}# "
     exec sulogin -e
openSUSE Build Service is sponsored by