mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
add zerotier to main menu
This commit is contained in:
parent
2bb356553f
commit
23173e68f6
1 changed files with 18 additions and 13 deletions
|
@ -37,25 +37,25 @@ fi
|
|||
|
||||
# Put Activated Apps on top
|
||||
if [ "${rtlWebinterface}" == "on" ]; then
|
||||
OPTIONS+=(RTL "RTL Web Node Manager")
|
||||
OPTIONS+=(RTL "RTL Web Node Manager")
|
||||
fi
|
||||
if [ "${BTCPayServer}" == "on" ]; then
|
||||
OPTIONS+=(BTCPAY "BTCPay Server Info")
|
||||
OPTIONS+=(BTCPAY "BTCPay Server Info")
|
||||
fi
|
||||
if [ "${ElectRS}" == "on" ]; then
|
||||
OPTIONS+=(ELECTRS "Electrum Rust Server")
|
||||
OPTIONS+=(ELECTRS "Electrum Rust Server")
|
||||
fi
|
||||
if [ "${BTCRPCexplorer}" == "on" ]; then
|
||||
OPTIONS+=(EXPLORE "BTC RPC Explorer")
|
||||
OPTIONS+=(EXPLORE "BTC RPC Explorer")
|
||||
fi
|
||||
if [ "${LNBits}" == "on" ]; then
|
||||
OPTIONS+=(LNBITS "LNbits Server")
|
||||
fi
|
||||
if [ "${lndmanage}" == "on" ]; then
|
||||
OPTIONS+=(LNDMANAGE "LND Manage Script")
|
||||
OPTIONS+=(LNDMANAGE "LND Manage Script")
|
||||
fi
|
||||
if [ "${loop}" == "on" ]; then
|
||||
OPTIONS+=(LOOP "Loop In/Out Service")
|
||||
OPTIONS+=(LOOP "Loop In/Out Service")
|
||||
fi
|
||||
if [ "${specter}" == "on" ]; then
|
||||
OPTIONS+=(SPECTER "Cryptoadvance Specter")
|
||||
|
@ -69,10 +69,12 @@ fi
|
|||
if [ "${bos}" == "on" ]; then
|
||||
OPTIONS+=(BOS "Balance of Satoshis")
|
||||
fi
|
||||
|
||||
if [ "${thunderhub}" == "on" ]; then
|
||||
OPTIONS+=(THUB "ThunderHub")
|
||||
fi
|
||||
if [ "${zerotier}" == "on" ]; then
|
||||
OPTIONS+=(ZEROTIER "ZeroTier")
|
||||
fi
|
||||
|
||||
# Basic Options
|
||||
OPTIONS+=(INFO "RaspiBlitz Status Screen")
|
||||
|
@ -84,7 +86,7 @@ OPTIONS+=(RECEIVE "Create Invoice/PaymentRequest")
|
|||
|
||||
openChannels=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net listchannels 2>/dev/null | jq '.[] | length')
|
||||
if [ ${#openChannels} -gt 0 ] && [ ${openChannels} -gt 0 ]; then
|
||||
OPTIONS+=(CLOSEALL "Close all open Channels")
|
||||
OPTIONS+=(CLOSEALL "Close all open Channels")
|
||||
fi
|
||||
|
||||
OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
|
@ -92,7 +94,7 @@ OPTIONS+=(CASHOUT "Remove Funds from LND")
|
|||
if [ "${chain}" = "main" ]; then
|
||||
OPTIONS+=(lnbalance "Detailed Wallet Balances")
|
||||
OPTIONS+=(lnchannels "Lightning Channel List")
|
||||
OPTIONS+=(lnfwdreport "Lightning Forwarding Events Report")
|
||||
OPTIONS+=(lnfwdreport "Lightning Forwarding Events Report")
|
||||
fi
|
||||
|
||||
OPTIONS+=(SERVICES "Activate/Deactivate Services")
|
||||
|
@ -103,11 +105,11 @@ OPTIONS+=(NAME "Change Name/Alias of Node")
|
|||
OPTIONS+=(PASSWORD "Change Passwords")
|
||||
|
||||
if [ "${runBehindTor}" == "on" ]; then
|
||||
OPTIONS+=(TOR "Monitor TOR Service")
|
||||
OPTIONS+=(TOR "Monitor TOR Service")
|
||||
fi
|
||||
|
||||
if [ "${touchscreen}" == "1" ]; then
|
||||
OPTIONS+=(SCREEN "Touchscreen Calibration")
|
||||
OPTIONS+=(SCREEN "Touchscreen Calibration")
|
||||
fi
|
||||
|
||||
# final Options
|
||||
|
@ -181,6 +183,9 @@ case $CHOICE in
|
|||
THUB)
|
||||
sudo /home/admin/config.scripts/bonus.thunderhub.sh menu
|
||||
;;
|
||||
ZEROTIER)
|
||||
sudo /home/admin/config.scripts/bonus.zerotier.sh menu
|
||||
;;
|
||||
SUBSCRIBE)
|
||||
/home/admin/config.scripts/blitz.subscriptions.py
|
||||
;;
|
||||
|
@ -199,7 +204,7 @@ case $CHOICE in
|
|||
read key
|
||||
;;
|
||||
lnfwdreport)
|
||||
./XXlnfwdreport.sh
|
||||
./XXlnfwdreport.sh
|
||||
echo "Press ENTER to return to main menu."
|
||||
read key
|
||||
./00mainMenu.sh
|
||||
|
@ -268,7 +273,7 @@ case $CHOICE in
|
|||
;;
|
||||
UPDATE)
|
||||
/home/admin/99updateMenu.sh
|
||||
;;
|
||||
;;
|
||||
REBOOT)
|
||||
clear
|
||||
echo ""
|
||||
|
|
Loading…
Add table
Reference in a new issue