Skip to content

Commit 372654e

Browse files
asdf1nitguysoft
authored andcommitted
Added change to handle new pi 4 revision code
1 parent 3ff74dc commit 372654e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/modules/gui/filesystem/home/pi/scripts

src/modules/gui/filesystem/home/pi/scripts/enable_gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ ! -f /etc/gpu_enabled ]; then
55
sudo sed -i /boot/cmdline.txt -e "s/ splash//"
66
sudo sed -i /boot/cmdline.txt -e "s/ plymouth.ignore-serial-consoles//"
77
check="$(sudo cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed -e 's/[a-c]//')"
8-
if [ "${check}" != "03111" ]; then
8+
if [ "${check}" != "03111" || "${check}" != "03112" ]; then
99
sudo sed -i /boot/config.txt -e "s/^\#dtoverlay=vc4-kms-v3d/dtoverlay=vc4-kms-v3d/"
1010
printf "dtoverlay=vc4-kms-v3d\n" | sudo tee -a /boot/config.txt
1111
fi

0 commit comments

Comments
 (0)