Update command fix rtl_test

beta-extra-2
Alan Johnston 1 year ago committed by GitHub
parent eca4809fc4
commit 088c7058d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -63,7 +63,8 @@ else
# echo "Trying RTL-FM" # echo "Trying RTL-FM"
if [ $(rtl_test | grep "No supported devices found.") ] ; then timeout 1 rtl_test &> out.txt
if [ $(grep "No supported" out.txt && rm out.txt) ] ; then
echo "No RTL-SDR detected. Command and control is OFF" echo "No RTL-SDR detected. Command and control is OFF"
# sleep 60 # sleep 60
@ -95,6 +96,7 @@ else
# sudo killall -9 direwolf # sudo killall -9 direwolf
# sudo killall -9 rtl_fm # sudo killall -9 rtl_fm
fi fi
rm out.txt
else else
echo "Starting Carrier (squelch) Command and Control" echo "Starting Carrier (squelch) Command and Control"

Loading…
Cancel
Save

Powered by TurnKey Linux.