Add message during wait
This commit is contained in:
parent
1ec7444c36
commit
e7c8e9da6b
|
@ -17,6 +17,7 @@ this_tty=$( tty | sed -e "s:/dev/::" )
|
||||||
echo "This TTY: ${this_tty}"
|
echo "This TTY: ${this_tty}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo "Waiting for consoles to get ready..."
|
||||||
if [[ ${#active_ttys[@]} -gt 1 ]]; then
|
if [[ ${#active_ttys[@]} -gt 1 ]]; then
|
||||||
if [[ "${active_ttys[@]}" =~ "ttyS" ]]; then
|
if [[ "${active_ttys[@]}" =~ "ttyS" ]]; then
|
||||||
if grep -q -E -o "tty[0-9]+" <<<"${this_tty}"; then
|
if grep -q -E -o "tty[0-9]+" <<<"${this_tty}"; then
|
||||||
|
|
Loading…
Reference in New Issue