Browse Source

added macaroon and TLS.cert export to main menu

dev
rootzoll 6 years ago
parent
commit
057a0e7bc7
  1. 7
      home.admin/00mainMenu.sh
  2. 2
      home.admin/config.scripts/lnd.export.sh

7
home.admin/00mainMenu.sh

@ -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."

2
home.admin/config.scripts/lnd.export.sh

@ -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:"

Loading…
Cancel
Save