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"
fi
# REGULAR MENU
# Basic Options
OPTIONS+=(INFO "RaspiBlitz Status Screen" \
FUNDING "Fund your Wallet" \
CONNECT "Connect to a Peer" \
CHANNEL "Open a Channel with Peer" \
lnbalance "Detailed Wallet Balances" \
lnchannels "Lightning Channel List" \
SWITCH "Switch ${switchOption}"
X "Console / Terminal")
lnchannels "Lightning Channel List")
# Depending Options
if [ "${network}" = "bitcoin" ]; then
OPTIONS+=(SWITCH "Switch ${switchOption}")
fi
# final Options
OPTIONS+=(X "Console / Terminal")
fi

View File

@@ -172,7 +172,7 @@ if [ ${macaroonExists} -eq 0 ]; then
echo "You may want try again with starting ./70initLND.sh"
exit 1
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)
if [ ${macaroonExists} -eq 0 ]; then
sudo mkdir /home/admin/.lnd

View File

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