mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
rc: different approach for tty detection
This commit is contained in:
parent
4d3d04abd1
commit
ef61ac3ed7
@ -37,7 +37,7 @@ ifconfig lo0 ::1
|
||||
ifconfig lo0 up
|
||||
|
||||
if [ -z "${TERM}" ]; then
|
||||
if [ -e /dev/ttyv0 ]; then
|
||||
if [ -n "$(tty | grep ttyv)" ]; then
|
||||
export TERM=xterm
|
||||
else
|
||||
export TERM=vt100
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user