|
|
|
|
@ -171,6 +171,8 @@ if [[ $(grep 'bookworm' /etc/os-release) ]]; then
|
|
|
|
|
|
|
|
|
|
sudo sed -i 's/#dtparam=i2c_arm=on/dtparam=i2c_arm=on/g' /boot/firmware/config.txt
|
|
|
|
|
|
|
|
|
|
sudo sed -i 's/#dtoverlay=vc4-fkms-v3d/dtoverlay=vc4-fkms-v3d/g' /boot/firmware/config.txt
|
|
|
|
|
|
|
|
|
|
if [[ $(grep 'dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=24' /boot/firmware/config.txt) ]]; then
|
|
|
|
|
echo "dtoverlay=i2c-gpio already in /boot/firmware/config.txt"
|
|
|
|
|
else
|
|
|
|
|
@ -813,6 +815,10 @@ cd
|
|
|
|
|
|
|
|
|
|
#fi
|
|
|
|
|
|
|
|
|
|
sed -i 's/quick_exec=0/quick_exec=1/' ~/.config/libfm/libfm.conf
|
|
|
|
|
|
|
|
|
|
sudo apt install -y raspberrypi-ui-mods
|
|
|
|
|
|
|
|
|
|
if [ "$noreboot" = "0" ] ; then
|
|
|
|
|
|
|
|
|
|
if [ $FLAG -eq 1 ]; then # Not sure if this is needed
|
|
|
|
|
|