mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
Adding Labelbase to menus & recover (#4620)
This commit is contained in:
parent
5e732ce67f
commit
88168842dc
4 changed files with 33 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
## What's new in Version 1.11.1 of RaspiBlitz?
|
## What's new in Version 1.11.1 of RaspiBlitz?
|
||||||
|
|
||||||
- New: Set Timezone SSHMENU > SYSTEM > TIME [details](https://github.com/raspiblitz/raspiblitz/issues/1712)
|
- New: Set Timezone SSHMENU > SYSTEM > TIME [details](https://github.com/raspiblitz/raspiblitz/issues/1712)
|
||||||
|
- New: Labelbase 2.2.1 [details](https://x.com/labelbase_space)
|
||||||
- Update: LNbits 0.12.8 [details](https://github.com/lnbits/lnbits/releases/tag/0.12.8)
|
- Update: LNbits 0.12.8 [details](https://github.com/lnbits/lnbits/releases/tag/0.12.8)
|
||||||
- Update: Specter Desktop 2.0.4 with reactivated UPDATE option [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v2.0.4)
|
- Update: Specter Desktop 2.0.4 with reactivated UPDATE option [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v2.0.4)
|
||||||
- Update: BTCPayServer 1.13.0 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.13.0)
|
- Update: BTCPayServer 1.13.0 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.13.0)
|
||||||
|
|
|
@ -168,6 +168,9 @@ fi
|
||||||
if [ "${fints}" == "on" ]; then
|
if [ "${fints}" == "on" ]; then
|
||||||
OPTIONS+=(FINTS "Show FinTS/HBCI details")
|
OPTIONS+=(FINTS "Show FinTS/HBCI details")
|
||||||
fi
|
fi
|
||||||
|
if [ "${labelbase}" == "on" ]; then
|
||||||
|
OPTIONS+=(LABELBASE "Labelbase (UTXO labeling)")
|
||||||
|
fi
|
||||||
|
|
||||||
# dont offer to switch to "testnet view for now" - so no wswitch back to mainnet needed
|
# dont offer to switch to "testnet view for now" - so no wswitch back to mainnet needed
|
||||||
#if [ ${chain} != "main" ]; then
|
#if [ ${chain} != "main" ]; then
|
||||||
|
@ -328,6 +331,9 @@ case $CHOICE in
|
||||||
CIRCUITBREAKER)
|
CIRCUITBREAKER)
|
||||||
sudo /home/admin/config.scripts/bonus.circuitbreaker.sh menu
|
sudo /home/admin/config.scripts/bonus.circuitbreaker.sh menu
|
||||||
;;
|
;;
|
||||||
|
LABELBASE)
|
||||||
|
sudo /home/admin/config.scripts/bonus.labelbase.sh menu
|
||||||
|
;;
|
||||||
FINTS)
|
FINTS)
|
||||||
sudo /home/admin/config.scripts/bonus.fints.sh menu
|
sudo /home/admin/config.scripts/bonus.fints.sh menu
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -30,6 +30,7 @@ if [ ${#helipad} -eq 0 ]; then helipad="off"; fi
|
||||||
if [ ${#lightningtipbot} -eq 0 ]; then lightningtipbot="off"; fi
|
if [ ${#lightningtipbot} -eq 0 ]; then lightningtipbot="off"; fi
|
||||||
if [ ${#fints} -eq 0 ]; then fints="off"; fi
|
if [ ${#fints} -eq 0 ]; then fints="off"; fi
|
||||||
if [ ${#lndk} -eq 0 ]; then lndk="off"; fi
|
if [ ${#lndk} -eq 0 ]; then lndk="off"; fi
|
||||||
|
if [ ${#labelbase} -eq 0 ]; then labelbase="off"; fi
|
||||||
|
|
||||||
# show select dialog
|
# show select dialog
|
||||||
echo "run dialog ..."
|
echo "run dialog ..."
|
||||||
|
@ -46,6 +47,7 @@ if [ "${network}" == "bitcoin" ]; then
|
||||||
OPTIONS+=(ja 'BTC JoinMarket+JoininBox menu' ${joinmarket})
|
OPTIONS+=(ja 'BTC JoinMarket+JoininBox menu' ${joinmarket})
|
||||||
OPTIONS+=(za 'BTC Jam (JoinMarket WebUI)' ${jam})
|
OPTIONS+=(za 'BTC Jam (JoinMarket WebUI)' ${jam})
|
||||||
OPTIONS+=(wa 'BTC Download Bitcoin Whitepaper' ${whitepaper})
|
OPTIONS+=(wa 'BTC Download Bitcoin Whitepaper' ${whitepaper})
|
||||||
|
OPTIONS+=(ls 'BTC Labelbase' ${labelbase})
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# available for both LND & c-lightning
|
# available for both LND & c-lightning
|
||||||
|
@ -579,6 +581,21 @@ else
|
||||||
echo "Whitepaper setting unchanged."
|
echo "Whitepaper setting unchanged."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# labelbase process choice
|
||||||
|
choice="off"; check=$(echo "${CHOICES}" | grep -c "ls")
|
||||||
|
if [ ${check} -eq 1 ]; then choice="on"; fi
|
||||||
|
if [ "${labelbase}" != "${choice}" ]; then
|
||||||
|
echo "Labelbase setting changed .."
|
||||||
|
anychange=1
|
||||||
|
sudo -u admin /home/admin/config.scripts/bonus.labelbase.sh ${choice}
|
||||||
|
source /mnt/hdd/raspiblitz.conf
|
||||||
|
if [ "${labelbase}" = "on" ]; then
|
||||||
|
sudo -u admin /home/admin/config.scripts/bonus.labelbase.sh menu
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Labelbase setting unchanged."
|
||||||
|
fi
|
||||||
|
|
||||||
# fints process choice
|
# fints process choice
|
||||||
choice="off"; check=$(echo "${CHOICES}" | grep -c "fn")
|
choice="off"; check=$(echo "${CHOICES}" | grep -c "fn")
|
||||||
if [ ${check} -eq 1 ]; then choice="on"; fi
|
if [ ${check} -eq 1 ]; then choice="on"; fi
|
||||||
|
|
|
@ -660,6 +660,15 @@ else
|
||||||
echo "Provisioning LIT - keep default" >> ${logFile}
|
echo "Provisioning LIT - keep default" >> ${logFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# labelbase
|
||||||
|
if [ "${labelbase}" = "on" ]; then
|
||||||
|
echo "Provisioning Labelbase - run config script" >> ${logFile}
|
||||||
|
/home/admin/_cache.sh set message "Setup Labelbase"
|
||||||
|
sudo -u admin /home/admin/config.scripts/bonus.labelbase.sh on >> ${logFile} 2>&1
|
||||||
|
else
|
||||||
|
echo "Provisioning Labelbase - keep default" >> ${logFile}
|
||||||
|
fi
|
||||||
|
|
||||||
# lndg
|
# lndg
|
||||||
if [ "${lndg}" = "on" ]; then
|
if [ "${lndg}" = "on" ]; then
|
||||||
echo "Provisioning LNDg - run config script" >> ${logFile}
|
echo "Provisioning LNDg - run config script" >> ${logFile}
|
||||||
|
|
Loading…
Add table
Reference in a new issue