added macaroon and TLS.cert export to main menu

This commit is contained in:
rootzoll
2019-01-15 22:53:42 +01:00
parent b5bf24d4f8
commit 057a0e7bc7
2 changed files with 8 additions and 1 deletions

View File

@@ -238,6 +238,7 @@ else
RECEIVE "Create Invoice/PaymentRequest" \
SERVICES "Activate/Deactivate Services" \
MOBILE "Connect Mobile Wallet" \
EXPORT "Macaroons and TLS.cert" \
NAME "Change Name/Alias of Node" \
PASSWORD "Change Passwords" \
CASHOUT "Remove Funds from on-chain Wallet")
@@ -386,6 +387,12 @@ case $CHOICE in
read key
./00mainMenu.sh
;;
EXPORT)
sudo /home/admin/config.scripts/lnd.export.sh
echo "Press ENTER to return to main menu."
read key
./00mainMenu.sh
;;
NAME)
sudo /home/admin/config.scripts/lnd.setname.sh
echo "Press ENTER to Reboot."

View File

@@ -66,7 +66,7 @@ elif [ ${exportType} = "scp" ]; then
local_ip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
clear
echo "###### DOWNLOAD BY SCP ######"
echo "Copy, past and execute these commands in your client terminal to download the files."
echo "Copy, paste and execute these commands in your client terminal to download the files."
echo "The password needed during download is your Password A."
echo ""
echo "admin.macaroon:"