Update update run install for pi-power-button when boot.txt updated

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent d87e7874e8
commit b18a44c0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.