diff --git a/install b/install index 4ecf0e01..33ef95b3 100755 --- a/install +++ b/install @@ -189,6 +189,20 @@ sudo raspi-config nonint do_legacy 0 sudo sh -c 'echo "\ndtoverlay=pwm,pin=18,func=2" >> /boot/config.txt' fi + if [[ $(grep 'disable_splash=1 ' /boot/config.txt) ]]; then + echo "disable_splash=1 already in /boot/config.txt" + else + echo "adding to /boot/config.txt" + sudo sh -c 'echo "\ndisable_splash=1" >> /boot/config.txt' + fi + + if [[ $(grep 'boot_delay=0' /boot/config.txt) ]]; then + echo "boot_delay=0 already in /boot/config.txt" + else + echo "adding to /boot/config.txt" + sudo sh -c 'echo "\nboot_delay=0" >> /boot/config.txt' + fi + sudo sh -c 'echo "\n" >> /boot/config.txt' echo "Would you like to reboot to complete the installation (y/n)?"