Commit be5dcb8a authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Check if fbterm is installed and use $TTY variable

parent 3d5b3430
# start fbterm automatically in /dev/tty* # start fbterm automatically in /dev/tty*
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then if (( ${+commands[fbterm]} )); then
fbterm if [[ "$TTY" = /dev/tty* ]] ; then
exit fbterm
exit
fi
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment