* usr/bin/byobu-launch.in:

- Don't autolaunch for ARM serial consoles
This commit is contained in:
Jeffery To 2019-05-27 03:17:42 +08:00
commit 69871dedc8
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -26,6 +26,8 @@ byobu (5.128) unreleased; urgency=medium
creating it) creating it)
* usr/bin/byobu.in: * usr/bin/byobu.in:
- Use readlink if the tty command is not available - Use readlink if the tty command is not available
* usr/bin/byobu-launch.in:
- Don't autolaunch for ARM serial consoles
* usr/lib/byobu/disk_io: * usr/lib/byobu/disk_io:
- Ensure the detected mount point device exists - Ensure the detected mount point device exists
* usr/lib/byobu/hostname: * usr/lib/byobu/hostname:

View file

@ -31,7 +31,7 @@
# $HOME/.bashrc: export BYOBU_DISABLE=1 # $HOME/.bashrc: export BYOBU_DISABLE=1
_tty=$(tty) _tty=$(tty)
if [ "${_tty#/dev/ttyS}" != "$_tty" ]; then if [ "${_tty#/dev/ttyS}" != "$_tty" ] && [ "${_tty#/dev/ttyAMA}" != "$_tty" ]; then
# Don't autolaunch byobu on serial consoles # Don't autolaunch byobu on serial consoles
# You can certainly run 'byobu' manually, though # You can certainly run 'byobu' manually, though
echo echo