From fe2a347513005bc5eda548903a8e821c04e45c2e Mon Sep 17 00:00:00 2001 From: Lassulus Date: Tue, 24 May 2011 14:58:47 +0200 Subject: optional parameter for starting tinc --- .scripts/tinc_multicast/retiolum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts/tinc_multicast') diff --git a/.scripts/tinc_multicast/retiolum.py b/.scripts/tinc_multicast/retiolum.py index 51c42461..f8272088 100755 --- a/.scripts/tinc_multicast/retiolum.py +++ b/.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 -- cgit v1.2.3