summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorLassulus <Lassulus@googlemail.com>2011-05-11 19:12:22 +0200
committerLassulus <Lassulus@googlemail.com>2011-05-11 19:12:22 +0200
commit6f2afba8fab5a50ffbc780d68d8a0645b4b526e6 (patch)
tree8c817a4b3253c68c37e3e2eb31a3c4e88c1b2fe9 /hosts
parentf64b0ee06c8bef0018b5717d37f2f16647ee1369 (diff)
fixed indent bug
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/.scripts/retiolum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/.scripts/retiolum.py b/hosts/.scripts/retiolum.py
index 4c955b86..51e7a215 100755
--- a/hosts/.scripts/retiolum.py
+++ b/hosts/.scripts/retiolum.py
@@ -22,7 +22,7 @@ def address2hostfile(netname, hostname, address): #adds address to hostsfile or
addr_file.close
logging.info("sending ALRM to tinc deamon!")
tincd_ALRM = subprocess.call(["tincd -n " + netname + " --kill=HUP" ],shell=True)
- else:
+ else:
recover = subprocess.os.popen("tar xzf /etc/tinc/" + netname + "/hosts/hosts.tar.gz -C /etc/tinc/" + netname + "/hosts/ " + hostname)
def findhostinlist(hostslist, hostname, ip): #finds host + ip in list