You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
407 B

  1. --- a/usr/bin/byobu-launch.in
  2. +++ b/usr/bin/byobu-launch.in
  3. @@ -30,7 +30,7 @@
  4. # or edit your sshd_config, ssh_config, and set:
  5. # $HOME/.bashrc: export BYOBU_DISABLE=1
  6. -_tty=$(tty)
  7. +_tty=$(readlink /proc/$$/fd/0)
  8. if [ "${_tty#/dev/ttyS}" != "$_tty" ] && [ "${_tty#/dev/ttyAMA}" != "$_tty" ]; then
  9. # Don't autolaunch byobu on serial consoles
  10. # You can certainly run 'byobu' manually, though