diff --git a/Code/Patch/patch_for_bullseye.sh b/Code/Patch/patch_for_bullseye.sh index bff7466..12219ae 100644 --- a/Code/Patch/patch_for_bullseye.sh +++ b/Code/Patch/patch_for_bullseye.sh @@ -4,8 +4,12 @@ cd "$(dirname "$current_file")" #sudo cp /boot/config.txt /boot/config-backup.txt #sudo cp ./config.txt /boot/config.txt + sudo cp /usr/lib/arm-linux-gnueabihf/libmmal.so /usr/lib/arm-linux-gnueabihf/libmmal-backup.so.backup sudo cp ./libmmal.so /usr/lib/arm-linux-gnueabihf/libmmal.so -echo "patched complete! Please reboot the system!" +sudo cp /opt/vc/lib/libmmal.so /opt/vc/lib/libmmal.so.bak +sudo cp ./libmmal.so /opt/vc/lib/libmmal.so + +echo "patched complete!"