Change Dnsmasq *.hosts reference to /etc/dnsmasq/

This commit is contained in:
Amir Zarrinkafsh 2021-01-15 10:20:51 +11:00
parent 3e649ab5d7
commit 654d19ce84
No known key found for this signature in database
GPG Key ID: ECDB8EF9E77E4EBF

View File

@ -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