summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/.scripts
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
commit49325745fa00798c383364dd55e4cffd704cdebc (patch)
tree023c157068701d472e94d1660e784247ac0cad75 /retiolum/hosts/.scripts
parenta9eead46d8fc651e99e9e74e71f5135853bbdd72 (diff)
fixed indent bug
Diffstat (limited to 'retiolum/hosts/.scripts')
-rwxr-xr-xretiolum/hosts/.scripts/retiolum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/hosts/.scripts/retiolum.py b/retiolum/hosts/.scripts/retiolum.py
index 4c955b86..51e7a215 100755
--- a/retiolum/hosts/.scripts/retiolum.py
+++ b/retiolum/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