diff --git a/gfwlist2dnsmasq.py b/gfwlist2dnsmasq.py index d20ca10..5b1126f 100644 --- a/gfwlist2dnsmasq.py +++ b/gfwlist2dnsmasq.py @@ -21,7 +21,6 @@ tmpfile = '/tmp/gfwlisttmp' # do not write to router internal flash directly outfile = '/tmp/gfwlist.conf' -rulesfile = '/var/www/wordpress/wp-content/uploads/secured_files/dnsmasq_list.conf' fs = file(outfile, 'w') fs.write('# gfw list ipset rules for dnsmasq\n') @@ -63,7 +62,4 @@ tfs.close() fs.close(); -print 'moving generated file to dnsmasg directory' -shutil.move(outfile, rulesfile) - print 'done!'