Merge pull request #835 from coldclimate/quit-early

Kick out super early if it's not a suitable system
This commit is contained in:
ehpersonal38
2023-04-10 21:40:13 -04:00
committed by GitHub
+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