From 69871dedc83f7b0cc3d1504fc1cdb3c0f0a0e6ea Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 27 May 2019 03:17:42 +0800 Subject: [PATCH] * usr/bin/byobu-launch.in: - Don't autolaunch for ARM serial consoles --- debian/changelog | 2 ++ usr/bin/byobu-launch.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 25264011..372da95c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -26,6 +26,8 @@ byobu (5.128) unreleased; urgency=medium creating it) * usr/bin/byobu.in: - 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: - Ensure the detected mount point device exists * usr/lib/byobu/hostname: diff --git a/usr/bin/byobu-launch.in b/usr/bin/byobu-launch.in index 77cd57e3..9d177207 100755 --- a/usr/bin/byobu-launch.in +++ b/usr/bin/byobu-launch.in @@ -31,7 +31,7 @@ # $HOME/.bashrc: export BYOBU_DISABLE=1 _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 # You can certainly run 'byobu' manually, though echo