Browse Source

fix script call

sshtunnel
Christian Rotzoll 6 years ago
parent
commit
beb1e33a7f
  1. 2
      home.admin/config.scripts/internet.sshtunnel.py

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

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

Loading…
Cancel
Save