2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +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 7026fdfa3a
commit 8ad130e14c

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