From 9b327fc084358164079be45493be79e73b048566 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 3 Jun 2017 03:00:12 -0400 Subject: [PATCH] Change ttyUSB0 to ttyAMA0 --- bmc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bmc.sh b/bmc.sh index 47fc2d4..3e07b25 100755 --- a/bmc.sh +++ b/bmc.sh @@ -131,9 +131,9 @@ while true; do 'console') echo "Starting console..." # Connect to screen, or start it - sudo screen -r serialconsole &>/dev/null || sudo screen -S serialconsole /dev/ttyUSB0 115200 + sudo screen -r serialconsole &>/dev/null || sudo screen -S serialconsole /dev/ttyAMA0 115200 # If the user killed screen, restart it - just in case - pgrep screen &>/dev/null || sudo screen -S serialconsole /dev/ttyUSB0 115200 + pgrep screen &>/dev/null || sudo screen -S serialconsole /dev/ttyAMA0 115200 echo ;; 'power')