Update command only delay 20 sec for direwolf

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent 0ac105e87b
commit cf3dfa0571
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,8 +2,6 @@
echo -e "\nCommand and Control script for CubeSatSim v1.3.2\n" echo -e "\nCommand and Control script for CubeSatSim v1.3.2\n"
sleep 20
FILE=/home/pi/CubeSatSim/command_control FILE=/home/pi/CubeSatSim/command_control
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
echo "Radio command and control is ON" echo "Radio command and control is ON"
@ -22,7 +20,9 @@ sleep 20
FILE=/home/pi/CubeSatSim/command_control_direwolf FILE=/home/pi/CubeSatSim/command_control_direwolf
if [[ $(arecord -l | grep card) ]] && [ -f "$FILE" ]; then if [[ $(arecord -l | grep card) ]] && [ -f "$FILE" ]; then
echo "Starting direwolf" echo "Starting direwolf after 20 second delay"
sleep 20
if [ "$1" = "d" ]; then if [ "$1" = "d" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.