Update command fix grep

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

@ -64,7 +64,7 @@ else
# echo "Trying RTL-FM" # echo "Trying RTL-FM"
timeout 1 rtl_test &> out.txt timeout 1 rtl_test &> out.txt
if [ $(grep "No supported" out.txt && rm out.txt) ] ; then if [ $(grep "No supported" 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

Loading…
Cancel
Save

Powered by TurnKey Linux.