We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4b981 commit 13e82cdCopy full SHA for 13e82cd
1 file changed
src/modules/gui/filesystem/home/pi/scripts/enable_gpu
@@ -5,7 +5,7 @@ if [ ! -f /etc/gpu_enabled ]; then
5
sudo sed -i /boot/cmdline.txt -e "s/ splash//"
6
sudo sed -i /boot/cmdline.txt -e "s/ plymouth.ignore-serial-consoles//"
7
check="$(sudo cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed -e 's/[a-c]//')"
8
- if [ "${check}" != "03111" || "${check}" != "03112" ]; then
+ if [ "${check}" != "03111" ] && [ "${check}" != "03112" ]; then
9
sudo sed -i /boot/config.txt -e "s/^\#dtoverlay=vc4-kms-v3d/dtoverlay=vc4-kms-v3d/"
10
printf "dtoverlay=vc4-kms-v3d\n" | sudo tee -a /boot/config.txt
11
fi
0 commit comments