mirror of
https://github.com/pimox/pimox7.git
synced 2026-07-03 19:21:38 +00:00
Merge pull request #53 from LauKr/master
Added minimal info why scripts exits when using RPi 3
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# !/bin/bash
|
# !/bin/bash
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Name: RPiOS64-IA-Install.sh Version: 0.1.2 #
|
# Name: RPiOS64-IA-Install.sh Version: 0.1.2 #
|
||||||
# Created: 07.09.2021 Modified: 06.12.2021 #
|
# Created: 07.09.2021 Modified: 22.02.2022 #
|
||||||
# Author: TuxfeatMac J.T. #
|
# Author: TuxfeatMac J.T. #
|
||||||
# Purpose: interactive, automatic, Pimox7 installation RPi4B, RPi3B+ #
|
# Purpose: interactive, automatic, Pimox7 installation RPi4B, RPi3B+ #
|
||||||
#########################################################################################################################################
|
#########################################################################################################################################
|
||||||
@@ -34,6 +34,7 @@ $NORMAL\n" && sleep 3
|
|||||||
RPIMOD=$(cat /sys/firmware/devicetree/base/model | cut -d ' ' -f 3)
|
RPIMOD=$(cat /sys/firmware/devicetree/base/model | cut -d ' ' -f 3)
|
||||||
if [ $RPIMOD == 3 ]
|
if [ $RPIMOD == 3 ]
|
||||||
then
|
then
|
||||||
|
printf "Officially, the only supported model is Raspberry Pi 4. Unfortunately, you have a model 3.\n"
|
||||||
printf "Edit installer.sh manually.. I hope you know what you are doing..."
|
printf "Edit installer.sh manually.. I hope you know what you are doing..."
|
||||||
exit
|
exit
|
||||||
## WORKS BUT DOSEN'T SHOW RPI 3 WARNINGS YET ...
|
## WORKS BUT DOSEN'T SHOW RPI 3 WARNINGS YET ...
|
||||||
|
|||||||
Reference in New Issue
Block a user