From d3b6326673913627877591bca9e6fb65dc326508 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 12 Aug 2021 16:47:03 -0400 Subject: [PATCH] Fix incorrect variable name for starting tmux --- .../genesis/initramfs/opt/confluent/bin/rungenesis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis index 516cd0f6..2c87c5a8 100644 --- a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis +++ b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis @@ -8,7 +8,7 @@ if ! grep console= /proc/cmdline >& /dev/null; then echo $autocons > /tmp/01-autocons.devnode if [ ! -z "$autocons" ]; then echo "Using $(cat /tmp/01-autocons.conf)" - (while :; do TMUX=xterm-256color tmux a <> $autocons >&0 2>&1; done) & + (while :; do TERM=xterm-256color tmux a <> $autocons >&0 2>&1; done) & (while :; do TERM=linux tmux a <> /dev/tty1 >&0 2>&1; done) & else (while :; do TERM=linux tmux a <> /dev/console >&0 2>&1; done) &