From 9318f0a784ed6c0c886f8f9e9e303f4b3d47b570 Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Sun, 16 Sep 2018 05:04:13 -0300 Subject: [PATCH] Absolute path to avoid /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin issues --- receive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receive.sh b/receive.sh index 3daf4c6..38d0fd8 100644 --- a/receive.sh +++ b/receive.sh @@ -43,7 +43,7 @@ fi # $6 = Time to capture START_DATE=$(date '+%d-%m-%Y %H:%M') -timeout "${6}" rtl_fm -f "${2}"M -s 60k -g 50 -p 55 -E wav -E deemp -F 9 - | sox -t raw -e signed -c 1 -b 16 -r 60000 - ${NOAA_OUTPUT}/audio/"${3}".wav rate 11025 +timeout "${6}" /usr/local/bin/rtl_fm -f "${2}"M -s 60k -g 50 -p 55 -E wav -E deemp -F 9 - | sox -t raw -e signed -c 1 -b 16 -r 60000 - ${NOAA_OUTPUT}/audio/"${3}".wav rate 11025 PASS_START=$(expr "$5" + 90)