From cafbc1d1c244e7f0370b37a445336d229c81cdaa Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Sat, 13 Mar 2021 12:49:26 -0500 Subject: [PATCH] Have tty2 also run a shell Some may find switching VTs to be more intuitive than tmux session management. Provide one extra on tty2 for such a scenario. --- .../genesis/initramfs/opt/confluent/bin/rungenesis | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis index 7af33603..7795ba22 100644 --- a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis +++ b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis @@ -17,6 +17,7 @@ else (while :; do tmux a <> /dev/console >&0 2>&1; done) & (while :; do TERM=linux tmux a <> /dev/tty1 >&0 2>&1; done) & fi +(while :; do TERM=linux tmux <> /dev/tty2 >&0 2>&1; done) & echo -n "udevd: " /usr/lib/systemd/systemd-udevd --daemon echo -n "Loading drivers..."