awooo
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
function subprocess() {
|
||||
echo -e "\nChanging ESPPORT\n"
|
||||
echo -e "\nChecking for Serial Devices in dmesg\n"
|
||||
@@ -12,7 +13,7 @@ function subprocess() {
|
||||
if [ $COUNTER -gt 0 ]; then
|
||||
echo -e "\nEnter TTY Number You'd Like:"
|
||||
read tty
|
||||
ttyselect=$devarr[(($tty+1))]
|
||||
ttyselect=$devarr[$tty+1]
|
||||
else
|
||||
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user