mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
SYSTEM menu fixes
This commit is contained in:
parent
6d82b93faf
commit
7ca6b68cb7
3 changed files with 6 additions and 4 deletions
|
@ -263,7 +263,7 @@ case $CHOICE in
|
|||
/home/admin/99connectMenu.sh
|
||||
;;
|
||||
SYSTEM)
|
||||
/home/admin/99systemMenu.sh
|
||||
/home/admin/99systemMenu.sh ${chain}net
|
||||
;;
|
||||
SCREEN)
|
||||
dialog --title 'Touchscreen Calibration' --msgbox 'Choose OK and then follow the instructions on touchscreen for calibration.\n\nBest is to use a stylus for accurate touchscreen interaction.' 9 48
|
||||
|
|
|
@ -14,9 +14,11 @@ fi
|
|||
source /mnt/hdd/raspiblitz.conf
|
||||
|
||||
# CHAIN is signet | testnet | mainnet
|
||||
if [ $# -gt 0 ] && [ $1 != ${chain}net ];then
|
||||
nonDefaultChain=1
|
||||
if [ $# -gt 0 ]; then
|
||||
CHAIN=$1
|
||||
if [ $1 != ${chain}net ];then
|
||||
nonDefaultChain=1
|
||||
fi
|
||||
else
|
||||
nonDefaultChain=0
|
||||
CHAIN=${chain}net
|
||||
|
|
|
@ -22,7 +22,7 @@ OPTIONS+=(${network}CONF "Edit the bitcoin.conf")
|
|||
OPTIONS+=(LNDLOG "Monitor the lnd.log for ${CHAIN}")
|
||||
OPTIONS+=(LNDCONF "Edit the lnd.conf for ${CHAIN}")
|
||||
|
||||
if grep "${netprefix}cln=on" /mnt/hdd/raspiblitz.conf;then
|
||||
if grep "^${netprefix}cln=on" /mnt/hdd/raspiblitz.conf;then
|
||||
OPTIONS+=(CLNLOG "Monitor the CLN log for ${CHAIN}")
|
||||
OPTIONS+=(CLNCONF "Edit the CLN config for ${CHAIN}")
|
||||
HEIGHT=$((HEIGHT+2))
|
||||
|
|
Loading…
Add table
Reference in a new issue