Commit e0791e23 authored by vince's avatar vince


parent 4e67f2ef
......@@ -13,6 +13,7 @@ to support independant projects, maybe if you want to access .geek,
.indy, .free and other sites.
......@@ -30,10 +30,9 @@ if os.path.exists(CONF):
shutil.copyfile(CONF, CONF + ".back")
with open(CONF, 'a') as f:
# with open('foobar.txt', 'a') as f:
w = "\nprepend domain-name-servers " + ", ".join(s for s in dns_list[:3]) + ";"
print "we add the line: " + w + " to the file " + CONF
print "we saved the original conf file, so if you notice any connection pb, you can still put it back"
#todo: proposer un «undo»: remettre le .back en place
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment