2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-24 12:11:52 +00:00

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.
This commit is contained in:
Jarrod Johnson 2021-03-13 12:49:26 -05:00
parent 797e197bc7
commit cafbc1d1c2

View File

@ -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..."