summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/.scripts
diff options
context:
space:
mode:
authorLassulus <Lassulus@googlemail.com>2011-05-24 14:58:47 +0200
committerLassulus <Lassulus@googlemail.com>2011-05-24 14:58:47 +0200
commit2df8f3670e49aad9c76d37ea79fbde87c81c8ac3 (patch)
tree5e68c89d4028efb1c2c7c8930d7c9f300ba47a6d /retiolum/hosts/.scripts
parent335452f851175d5e9a8b5aca05ceca02663bdf2a (diff)
optional parameter for starting tinc
Diffstat (limited to 'retiolum/hosts/.scripts')
-rwxr-xr-xretiolum/hosts/.scripts/tinc_multicast/retiolum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/hosts/.scripts/tinc_multicast/retiolum.py b/retiolum/hosts/.scripts/tinc_multicast/retiolum.py
index 51c42461..f8272088 100755
--- a/retiolum/hosts/.scripts/tinc_multicast/retiolum.py
+++ b/retiolum/hosts/.scripts/tinc_multicast/retiolum.py
@@ -287,7 +287,7 @@ logging.basicConfig(level=level)
get_hostfiles(netname, "http://vpn.miefda.org/hosts.tar.gz", "http://vpn.miefda.org/hosts.md5")
tar = subprocess.call(["tar -xzf /etc/tinc/" + netname + "/hosts/hosts.tar.gz -C /etc/tinc/" + netname + "/hosts/"], shell=True)
-if option.tinc != false:
+if option.tinc != False:
start_tincd = subprocess.call(["tincd -n " + netname ],shell=True)
sendfifo = Queue.Queue() #sendtext