mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
add _provision_.sh
entry
This commit is contained in:
parent
d91708108f
commit
62b1aa0e44
@ -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}
|
||||
|
@ -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
|
||||
|
||||
##########################
|
||||
|
Loading…
Reference in New Issue
Block a user