forgot to pretty print that...
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
function pi-detect()
|
function pi-detect()
|
||||||
{
|
{
|
||||||
echo Now running "$FUNCNAME"....
|
print_info Now running "$FUNCNAME"....
|
||||||
if [ -f /sys/firmware/devicetree/base/model ] ; then
|
if [ -f /sys/firmware/devicetree/base/model ] ; then
|
||||||
export IS_RASPI="1"
|
export IS_RASPI="1"
|
||||||
fi
|
fi
|
||||||
@@ -9,5 +9,5 @@ fi
|
|||||||
if [ ! -f /sys/firmware/devicetree/base/model ] ; then
|
if [ ! -f /sys/firmware/devicetree/base/model ] ; then
|
||||||
export IS_RASPI="0"
|
export IS_RASPI="0"
|
||||||
fi
|
fi
|
||||||
echo Completed running "$FUNCNAME"
|
print_info Completed running "$FUNCNAME"
|
||||||
}
|
}
|
Reference in New Issue
Block a user