mirror of
https://github.com/uklans/cache-domains.git
synced 2024-05-12 03:54:53 +00:00
Change Dnsmasq *.hosts reference to /etc/dnsmasq/
This commit is contained in:
@@ -46,7 +46,7 @@ while read -r entry; do
|
||||
destfilename=$(echo $filename | sed -e 's/txt/hosts/')
|
||||
lancacheconf=${outputdir}/lancache.conf
|
||||
outputfile=${outputdir}/${destfilename}
|
||||
echo "addn-hosts=/etc/dnsmasq.d/${destfilename}" >> ${lancacheconf}
|
||||
echo "addn-hosts=/etc/dnsmasq/${destfilename}" >> ${lancacheconf}
|
||||
touch "$outputfile"
|
||||
# Wildcard entries
|
||||
while read -r fileentry; do
|
||||
|
Reference in New Issue
Block a user