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:
parent
2e9749ab69
commit
cda80b7b37
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user