2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix incorrect variable name for starting tmux

This commit is contained in:
Jarrod Johnson 2021-08-12 16:47:03 -04:00
parent 216a390229
commit d3b6326673

View File

@ -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) &