This commit is contained in:
2025-06-30 13:30:35 -05:00
parent 6e6a57f61b
commit 0773dcb372
4 changed files with 80 additions and 23 deletions

View File

@ -0,0 +1,13 @@
function pi-detect()
{
echo Now running "$FUNCNAME"....
if [ -f /sys/firmware/devicetree/base/model ] ; then
export IS_RASPI="1"
fi
if [ ! -f /sys/firmware/devicetree/base/model ] ; then
export IS_RASPI="0"
fi
echo Completed running "$FUNCNAME"
}