From 9bb3c185d4d7bd8fae6fd8dd027af18d149bf7bf Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 12 Aug 2023 19:28:45 -0400 Subject: [PATCH] fixed extra space in disable splash --- update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update b/update index 937ef9be..9e6134c3 100755 --- a/update +++ b/update @@ -161,12 +161,12 @@ git pull > .updated_p if [[ $(grep 'dtoverlay=pwm,pin=18,func=2' /boot/config.txt) ]]; then echo "dtoverlay=pwm,pin=18,func=2 already in /boot/config.txt" else - echo "adding to /boot/config.txt" + echo "adding dtoverlay=pwm,pin=18,func=2 to /boot/config.txt" sudo sh -c 'echo "\ndtoverlay=pwm,pin=18,func=2" >> /boot/config.txt' FLAG=1 fi - if [[ $(grep 'disable_splash=1 ' /boot/config.txt) ]]; then + 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"