Merge pull request #4234 from mcornella/fix-fbterm-autostart
Fix fbterm autostart
This commit is contained in:
commit
1605d8264c
|
@ -1,6 +1,7 @@
|
|||
# start fbterm automatically in /dev/tty*
|
||||
|
||||
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
|
||||
fbterm
|
||||
exit
|
||||
if (( ${+commands[fbterm]} )); then
|
||||
if [[ "$TTY" = /dev/tty* ]] ; then
|
||||
fbterm && exit
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue