]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
Move ip_forward activation from config to pymind.
[software/pymin.git] / config.py
index 26f84428ef7cca0e89bc300e013b771831b6e265..895e51af2bc0d9e54adfa66f2685293d5c3ffc27 100644 (file)
--- a/config.py
+++ b/config.py
@@ -16,13 +16,6 @@ pickle_path = join(base_path, 'pickle')
 # FIXME, this should be specific for each service
 config_path = join(base_path, 'config')
 
-try:
-    f = file("/proc/sys/net/ipv4/ip_forward","w")
-    f.write("1")
-    f.close()
-except (IOError, OSError), e:
-    print "Can't set ip_forward:", e
-
 class firewall:
     pickle_dir = join(pickle_path, 'firewall')
     config_dir = join(config_path, 'firewall')