added params for faster boot

fm-rx
Alan Johnston 2 years ago committed by GitHub
parent 362885261e
commit b06486f8fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)?"

Loading…
Cancel
Save

Powered by TurnKey Linux.