diff --git a/birdnet-pi/rootfs/etc/cont-init.d/01-oldcpu.sh b/birdnet-pi/rootfs/etc/cont-init.d/01-oldcpu.sh index 1d8a4f671..3541a8bc4 100644 --- a/birdnet-pi/rootfs/etc/cont-init.d/01-oldcpu.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/01-oldcpu.sh @@ -3,7 +3,7 @@ set -e # Compensate for old cpu without avx2 -if lscpu | grep -q avx2; then +if ! lscpu | grep -q avx2; then bashio::log.warning "NON SUPPORTED CPU DETECTED" bashio::log.warning "Your cpu doesn't support avx2, the analyzer service will likely won't work" bashio::log.warning "Trying to install tensorflow instead of tflite_runtime instead"