#4694 fatpack only installing lcd display when called after build sd card (#4725)

* only fatpack with lcd when called by command
This commit is contained in:
/rootzoll 2024-09-03 15:00:27 +02:00 committed by GitHub
parent 4b386212af
commit 65d41397dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -909,6 +909,7 @@ echo "1. login fresh --> user:admin password:raspiblitz"
echo -e "2. run --> release\n"
# make sure that at least the code is available (also if no internet)
echo "** DISPLAY(${display})"
/home/admin/config.scripts/blitz.display.sh prepare-install || exit 1
# (do last - because it might trigger reboot)
if [ "${display}" != "headless" ] || [ "${baseimage}" = "raspios_arm64" ]; then

View File

@ -161,6 +161,8 @@ function fatpack() {
confirmMsg fatpack
if [ $confirm -eq 1 ]; then
sudo /home/admin/config.scripts/blitz.fatpack.sh
# raspberry pi fatpack has lcd display be default
sudo /home/admin/config.scripts/blitz.display.sh set-display lcd
fi
}

View File

@ -136,7 +136,4 @@ echo "* Adding Code&Compile for WEBUI-APP: BTC RPC EXPLORER"
echo "* Adding Code&Compile for WEBUI-APP: MEMPOOL"
/home/admin/config.scripts/bonus.mempool.sh install || exit 1
echo "* Adding Code&Compile for WEBUI-APP: ELECTRS"
/home/admin/config.scripts/bonus.electrs.sh install || exit 1
# set default display to LCD
sudo /home/admin/config.scripts/blitz.display.sh set-display lcd
/home/admin/config.scripts/bonus.electrs.sh install || exit 1