little UI fixes

This commit is contained in:
rootzoll
2018-08-09 13:04:23 +02:00
parent e62960e88e
commit 94a8025744
3 changed files with 12 additions and 6 deletions

View File

@@ -66,15 +66,21 @@ else
switchOption="back to TESTNET" switchOption="back to TESTNET"
fi fi
# REGULAR MENU # Basic Options
OPTIONS+=(INFO "RaspiBlitz Status Screen" \ OPTIONS+=(INFO "RaspiBlitz Status Screen" \
FUNDING "Fund your Wallet" \ FUNDING "Fund your Wallet" \
CONNECT "Connect to a Peer" \ CONNECT "Connect to a Peer" \
CHANNEL "Open a Channel with Peer" \ CHANNEL "Open a Channel with Peer" \
lnbalance "Detailed Wallet Balances" \ lnbalance "Detailed Wallet Balances" \
lnchannels "Lightning Channel List" \ lnchannels "Lightning Channel List")
SWITCH "Switch ${switchOption}"
X "Console / Terminal") # Depending Options
if [ "${network}" = "bitcoin" ]; then
OPTIONS+=(SWITCH "Switch ${switchOption}")
fi
# final Options
OPTIONS+=(X "Console / Terminal")
fi fi

View File

@@ -172,7 +172,7 @@ if [ ${macaroonExists} -eq 0 ]; then
echo "You may want try again with starting ./70initLND.sh" echo "You may want try again with starting ./70initLND.sh"
exit 1 exit 1
fi fi
sudo mkdir /home/admin/.lnd sudo mkdir /home/admin/.lnd 2>/dev/null
macaroonExists=$(sudo ls -la /home/admin/.lnd/ | grep -c admin.macaroon) macaroonExists=$(sudo ls -la /home/admin/.lnd/ | grep -c admin.macaroon)
if [ ${macaroonExists} -eq 0 ]; then if [ ${macaroonExists} -eq 0 ]; then
sudo mkdir /home/admin/.lnd sudo mkdir /home/admin/.lnd

View File

@@ -40,7 +40,7 @@ echo ""
echo "COMMAND LINE: " echo "COMMAND LINE: "
echo $command echo $command
echo "" echo ""
echo "RESULT:" echo "RESULT (might have to wait for timeout):"
win=1 win=1
info="" info=""