Skip to content

Commit

Permalink
Update 01-acarsdec
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 authored Jan 7, 2024
1 parent cd3d906 commit d699da0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rootfs/etc/s6-overlay/scripts/01-acarsdec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ fi

if [[ -n "${SERIAL}" ]]; then
SOAPYSDR="driver=rtlsdr,serial=$SERIAL"
elif [[ -n "${SOAPYSDR}" ]]; then
fi

if [[ -z "${SOAPYSDR}" ]]; then
"${s6wrap[@]}" echo "One of SERIAL or SOAPYSDR is not set, exiting"
exit 1
fi
Expand Down

0 comments on commit d699da0

Please sign in to comment.