From 216a3902297e64b573d50af54939b0aff969cbdb Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 12 Aug 2021 16:33:46 -0400 Subject: [PATCH] Further refine TERM for tmux --- .../genesis/initramfs/opt/confluent/bin/rungenesis | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis index 5d4b41dd..516cd0f6 100644 --- a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis +++ b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis @@ -11,10 +11,10 @@ if ! grep console= /proc/cmdline >& /dev/null; then (while :; do TMUX=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=xterm-256color tmux a <> /dev/console >&0 2>&1; done) & + (while :; do TERM=linux tmux a <> /dev/console >&0 2>&1; done) & fi else - (while :; do tmux a <> /dev/console >&0 2>&1; done) & + (while :; do TERM=xterm-256color 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) &