Browse Source

unlock as user bitcoin

dev
rootzoll 6 years ago
parent
commit
af01914317
  1. 1
      FAQ.md
  2. 4
      README.md
  3. 4
      home.admin/config.scripts/lnd.export.sh

1
FAQ.md

@ -44,6 +44,7 @@ To really have a good backup to rely on such feature needs to be part of the LND
But you can try to backup at your own risk. All your Lightning Node data is within the `/mnt/hdd/lnd` directory. Just run a backup of that data when the lnd service is stopped.
## How do I change the Name/Alias of my lightning node
Use the "Change Name/Alias of Node" option in main menu. The RaspiBlitz will make a reboot after this.

4
README.md

@ -80,8 +80,8 @@ If you are at an event, ask for a ready-2-go set or if you have your own hardwar
You got all the hardware of the shopping list above and you have no further assistance. Then you need to prepare your SD-Card yourself .. this scenario is still experimental, feedback needed and can take some time.
1. Download SD-Card image:
https://wiki.fulmo.org/downloads/raspiblitz-0.99-2018-12-24.img.gz
SHA-256: 9c9ee0dea2e892a0e665befc86f6bd2f5a11f4d290bda46ba9203bf9e5d0a3df
https://wiki.fulmo.org/downloads/raspiblitz-0.99-2019-01-21.img.gz
91811c8e5e56130987ff1b9c75edffa3c00e56e94ede27d52ad642a6e4ba40fd
or [build your own SD card image](#build-the-sd-card-image)
2. Write the SD-Card image to your SD Card - if you need details, see here:

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

@ -131,7 +131,7 @@ elif [ "${exportType}" = "reset" ]; then
clear
echo "###### RESET MACAROONS AND TLS.cert ######"
echo ""
echo "All your macaroons and the tls.cert gets gets deleted and recreated."
echo "All your macaroons and the tls.cert get deleted and recreated."
echo ""
cd
echo "- deleting old macaroons"
@ -142,7 +142,7 @@ elif [ "${exportType}" = "reset" ]; then
echo "- restarting LND ... wait 20 secs"
sudo systemctl start lnd
sleep 20
lncli unlock
sudo -u bitcoin lncli unlock
echo "- copy new macaroons to admin user"
sudo cp /home/bitcoin/.lnd/data/chain/${network}/${chain}net/*.macaroon /home/admin/.lnd/data/chain/${network}/${chain}net/
sudo cp /home/bitcoin/.lnd/data/chain/${network}/${chain}net/macaroons.db /home/admin/.lnd/data/chain/${network}/${chain}net/

Loading…
Cancel
Save