Skip to content

Commit

Permalink
Update gfwlist2dnsmasq.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cokebar committed Feb 14, 2015
1 parent 1bd1fa7 commit 60f4188
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gfwlist2dnsmasq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -63,7 +62,4 @@
tfs.close()
fs.close();

print 'moving generated file to dnsmasg directory'
shutil.move(outfile, rulesfile)

print 'done!'

0 comments on commit 60f4188

Please sign in to comment.