Skip to content

Commit

Permalink
Merge pull request #44 from rpatel3001/rpatel3001-patch-1
Browse files Browse the repository at this point in the history
Update 01-acarsdec
  • Loading branch information
fredclausen authored Jan 7, 2024
2 parents cd3d906 + d699da0 commit 6ad9078
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 6ad9078

Please sign in to comment.