revert change allowing 900032 version RPi since it is an RPi1.
This commit is contained in:
parent
912f52051a
commit
80b7c6e490
4
install
4
install
@ -13,7 +13,7 @@
|
||||
# https://github.com/armbian/config/blob/master/debian-software
|
||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
||||
#
|
||||
# version: 1.6.20
|
||||
# version: 1.6.21
|
||||
#
|
||||
|
||||
if [[ $(id -u) -ne 0 ]]; then
|
||||
@ -194,7 +194,7 @@ if grep -rq raspberrypi.org /etc/apt/*; then
|
||||
rpivers="$(awk '$1 == "Revision" { print $3 }' /proc/cpuinfo)"
|
||||
echo "RPi revision code :: ${rpivers}"
|
||||
# https://elinux.org/RPi_HardwareHistory
|
||||
if [[ "${rpivers:0:1}" =~ [09] ]] && [[ ! "${rpivers:0:3}" =~ 902 ]] && [[ ! "${rpivers:4:5}" =~ 32 ]]; then
|
||||
if [[ "${rpivers:0:1}" =~ [09] ]] && [[ ! "${rpivers:0:3}" =~ 902 ]]; then
|
||||
echo "This RPi1 is not supported (not true armhf). Exiting..."
|
||||
exit 7
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user