|
|
@ -160,7 +160,7 @@ if sys.argv[1] == "on": |
|
|
|
if forwardingLND: |
|
|
|
# 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.setadress.sh on %s" % (serverdomain), shell=True) |
|
|
|
subprocess.call("sudo /home/admin/config.scripts/lnd.setaddress.sh on %s" % (serverdomain), shell=True) |
|
|
|
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: |
|
|
|