From b18a44c0d7e53444a29231b0b91d433c3cb7dbd4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 13 Aug 2023 16:42:56 -0400 Subject: [PATCH] Update update run install for pi-power-button when boot.txt updated --- update | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/update b/update index 151dd6c1..e2e9d34b 100755 --- a/update +++ b/update @@ -131,7 +131,7 @@ fi cd /home/pi/pi-power-button -git checkout reboot-mode-change +# git checkout reboot-mode-change git pull > .updated_p @@ -182,6 +182,11 @@ git pull > .updated_p 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 + + cd /home/pi/pi-power-button + git checkout reboot-mode-change + install/install + fi if [[ $(grep 'disable_splash=1' /boot/config.txt) ]]; then