1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-15 22:30:11 -07:00

add sleep on errors

This commit is contained in:
KM4ACK 2022-03-04 19:22:37 -06:00
parent 2e9749ab69
commit cda80b7b37

View File

@ -13,6 +13,7 @@ cat <<EOF
A Mobilinkd TNC is already paired with this pi. A Mobilinkd TNC is already paired with this pi.
Remove the existing pairing and try again. Remove the existing pairing and try again.
EOF EOF
sleep 3
exit 1 exit 1
fi fi
@ -69,6 +70,7 @@ MAC=`grep -i TNC /run/user/$UID/mobi.txt | awk '{print $1}'`
echo "TNC not found. Can't continue!" echo "TNC not found. Can't continue!"
echo "Confirm that the TNC is on and has" echo "Confirm that the TNC is on and has"
echo "a fast flashing blue light." echo "a fast flashing blue light."
sleep 5
exit 1 exit 1
fi fi
echo "Starting the pairing process....please stand by" echo "Starting the pairing process....please stand by"