Fix 98dracut-systemd/dracut-emergency.sh

/dev/consoles does not exist. It's /proc/consoles.

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
master
Böszörményi Zoltán 2019-02-12 12:55:32 +01:00 committed by Harald Hoyer
parent 94eccd15c5
commit 0d08f43d71
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if getargbool 1 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then
echo
[ -f "$FSTXT" ] && cat "$FSTXT"
) > /dev/$_tty
done < /dev/consoles
done < /proc/consoles
[ -f /etc/profile ] && . /etc/profile
[ -z "$PS1" ] && export PS1="$_name:\${PWD}# "
exec sulogin -e