Kick out super early if it's not a suitable system

Untested, but raised after a frustrating morning :D
This commit is contained in:
coldclimate
2023-04-09 14:10:35 +01:00
committed by GitHub
parent 6334367ac0
commit c5938e5d7f
+9
View File
@@ -5,6 +5,15 @@ if [ "$EUID" == 0 ]
exit
fi
if [ "$(uname -m)" != "aarch64" ];then
echo "BirdNET-Pi requires a 64-bit OS.
It looks like your operating system is using $(uname -m),
but would need to be aarch64.
Please take a look at https://birdnetwiki.pmcgui.xyz for more
information"
exit 1
fi
# Simple new installer
HOME=$HOME
USER=$USER