mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-29 19:22:10 +01:00
Added Link to YouTube video
This commit is contained in:
parent
ef4fba40fb
commit
f1e42d81a6
4
FAQ.md
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
|
||||
|
@ -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:
|
||||
|
@ -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…
x
Reference in New Issue
Block a user