Added back instructions for Windows users on where to move their hosts file to.

Resolves #5. I'm opening a new issue for adding this for Windows.
This commit is contained in:
Ben Limmer
2013-07-13 16:08:31 -06:00
parent f2f3e29e3f
commit 4b8995a9af

View File

@@ -208,6 +208,10 @@ def moveHostsFileIntoPlace(finalFile):
else:
if(subprocess.call(["/usr/bin/sudo", "/etc/rc.d/init.d/nscd", "restart"])):
printFailure("Flushing the DNS Cache failed.")
else if (os.name == 'nt'):
print 'Automatically moving the hosts file in place is not yet supported.'
print 'Please move the generated file to %SystemRoot%\system32\drivers\etc\hosts'
# End File Logic
# Helper Functions