From d4af1ed86376250ec56573d2a3189d18ecc1f21b Mon Sep 17 00:00:00 2001 From: Cokebar Chi Date: Sat, 20 Jun 2015 08:40:29 +0800 Subject: [PATCH] Update gfwlist2dnsmasq.py --- gfwlist2dnsmasq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfwlist2dnsmasq.py b/gfwlist2dnsmasq.py index 5b1126f..829db13 100644 --- a/gfwlist2dnsmasq.py +++ b/gfwlist2dnsmasq.py @@ -20,7 +20,7 @@ domain_pattern = '([\w\-\_]+\.[\w\.\-\_]+)[\/\*]*' tmpfile = '/tmp/gfwlisttmp' # do not write to router internal flash directly -outfile = '/tmp/gfwlist.conf' +outfile = './gfwlist.conf' fs = file(outfile, 'w') fs.write('# gfw list ipset rules for dnsmasq\n')