Browse Source

Added Link to YouTube video

master
Christian Rotzoll 6 years ago
parent
commit
f1e42d81a6
  1. 4
      FAQ.md
  2. 5
      home.admin/config.scripts/internet.sshtunnel.py
  3. 2
      home.admin/config.scripts/lnd.setaddress.sh

4
FAQ.md

@ -25,7 +25,9 @@ Instructions on how to update see FAQ info below.
For update you dont need to close any channels, remove funding or download the blockchain again.
Simply [Ddwnload the new RaspiBlitz SD card image](https://github.com/rootzoll/raspiblitz#installing-the-software) to your laptop and have an sd card writer ready. Then login into your RaspiBlitz with SSH and:
Here is a YouTube video tutorial on how to update: https://www.youtube.com/watch?v=Xvn0WQfHUdI
Simply [Download the new RaspiBlitz SD card image](https://github.com/rootzoll/raspiblitz#installing-the-software) to your laptop and have an sd card writer ready. Then login into your RaspiBlitz with SSH and:
- main menu > OFF
- remove power

5
home.admin/config.scripts/internet.sshtunnel.py

@ -39,11 +39,8 @@ WantedBy=multi-user.target
# get LND port form lnd.conf
LNDPORT = subprocess.getoutput("sudo cat /mnt/hdd/lnd/lnd.conf | grep '^listen=*' | cut -f2 -d':'")
print(len(LNDPORT))
print(LNDPORT)
if len(LNDPORT) == 0:
LNDPORT="9735"
print(LNDPORT)
#
# RESTORE = SWITCHING ON with restore flag on
@ -168,6 +165,8 @@ if sys.argv[1] == "on":
# setting server explicitly on LND if LND port is forwarded
print("Setting server domain for LND Port")
subprocess.call("sudo /home/admin/config.scripts/lnd.setaddress.sh on %s" % (serverdomain), shell=True)
else:
print("No need to set fixed domain forwarding")
file_content = "".join([s for s in file_content.splitlines(True) if s.strip("\r\n")]) + "\n"
print(file_content)
with open("/mnt/hdd/raspiblitz.conf", "w") as text_file:

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

@ -66,7 +66,7 @@ if [ "${mode}" = "off" ]; then
sudo systemctl stop lnd 2>/dev/null
# setting value in raspi blitz config
sudo sed -i "s/^lndAddress=.*/lndAddress=/g" /mnt/hdd/raspiblitz.conf
sudo sed -i "s/^lndAddress=.*/lndAddress=''/g" /mnt/hdd/raspiblitz.conf
echo "changing lnd.conf"

Loading…
Cancel
Save