2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-28 20:39:40 +00:00

Fix local console behavior in genesis

This will have the vga console be less concerning.
This commit is contained in:
Jarrod Johnson 2021-03-12 13:54:36 -05:00
parent ffe0754dd9
commit 874947076d

View File

@ -9,12 +9,13 @@ if ! grep console= /proc/cmdline >& /dev/null; then
if [ ! -z "$autocons" ]; then
echo "Using $(cat /tmp/01-autocons.conf)"
tmux a <> $autocons >&0 2>&1 &
TERM=linux tmux a <> /dev/tty1 >&0 2>&1 &
else
tmux a <> /dev/console >&0 2>&1 &
fi
else
tmux a <> /dev/console >&0 2>&1 &
tmux a <> /dev/tty1 >&0 2>&1 &
TERM=linux tmux a <> /dev/tty1 >&0 2>&1 &
fi
echo -n "udevd: "
/usr/lib/systemd/systemd-udevd --daemon