add _provision_.sh entry

This commit is contained in:
Léo Haf 2025-03-12 11:16:01 +01:00
parent d91708108f
commit 62b1aa0e44
Signed by: Retropex
GPG Key ID: 0E37EBAB8574F005
2 changed files with 9 additions and 16 deletions

View File

@ -617,6 +617,15 @@ else
echo "Provisioning Mempool Explorer - keep default" >> ${logFile}
fi
# Bicoin Knots
if [ "${knots}" = "on" ]; then
echo "Provisioning Bitcoin Knots - run config script" >> ${logFile}
/home/admin/_cache.sh set message "Setup Bitcoin Knots"
sudo -u admin /home/admin/config.scripts/bonus.knots.sh on >> ${logFile} 2>&1
else
echo "Provisioning Bitcoin Knots - keep default" >> ${logFile}
fi
# letsencrypt
if [ "${letsencrypt}" = "on" ]; then
echo "Provisioning letsencrypt - run config script" >> ${logFile}

View File

@ -179,22 +179,6 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
echo "bitcoind can take a lot of time to restart because of the blocks verification, please be patient."
exit 0
# OK so your app is now installed, but there please also check the following parts to ensure a propper integration
# into the raspiblitz system:
# PROVISION - reinstall on updates & recovery
# Take a look at `_provision_.sh` script - you can see that there all bonus apps install scripts get called if
# they have an active entry in the raspiblitz config. This is needed so that on sd card image update or recovery
# all apps get installed again. So add your app there accordantly so its install will survive an sd card update.
# MAINMENU - show users that app is installed
# Take a look at the `00mainmenu.sh` script - you can see there almost all bonus apps add a menu entry there if
# they are installed that then is calling this script with the `menu` parameter. Add your app accordingly.
# SERVICES MENU - add your app for onclick install
# Take a look at the `00settingsMenuServices.sh` script - you can there almost all bonus apps added themselves
# as an option in to be easily installed & deinstalled. Add your app there accordantly.
fi
##########################