diff options
author | Lassulus <Lassulus@googlemail.com> | 2011-05-24 14:58:47 +0200 |
---|---|---|
committer | Lassulus <Lassulus@googlemail.com> | 2011-05-24 14:58:47 +0200 |
commit | d5f370a12d098c26f845deccb83f621975303f81 (patch) | |
tree | db3e528b7324c06507a933f2708e8aa55f08384d /hosts/.scripts | |
parent | 11fd295cc3fb233b376a00360c6288eec8821d01 (diff) |
optional parameter for starting tinc
Diffstat (limited to 'hosts/.scripts')
-rwxr-xr-x | hosts/.scripts/tinc_multicast/retiolum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/.scripts/tinc_multicast/retiolum.py b/hosts/.scripts/tinc_multicast/retiolum.py index 51c42461..f8272088 100755 --- a/hosts/.scripts/tinc_multicast/retiolum.py +++ b/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 |