Change Dnsmasq *.hosts reference to /etc/dnsmasq/
This commit is contained in:
parent
3e649ab5d7
commit
654d19ce84
@ -46,7 +46,7 @@ while read -r entry; do
|
|||||||
destfilename=$(echo $filename | sed -e 's/txt/hosts/')
|
destfilename=$(echo $filename | sed -e 's/txt/hosts/')
|
||||||
lancacheconf=${outputdir}/lancache.conf
|
lancacheconf=${outputdir}/lancache.conf
|
||||||
outputfile=${outputdir}/${destfilename}
|
outputfile=${outputdir}/${destfilename}
|
||||||
echo "addn-hosts=/etc/dnsmasq.d/${destfilename}" >> ${lancacheconf}
|
echo "addn-hosts=/etc/dnsmasq/${destfilename}" >> ${lancacheconf}
|
||||||
touch "$outputfile"
|
touch "$outputfile"
|
||||||
# Wildcard entries
|
# Wildcard entries
|
||||||
while read -r fileentry; do
|
while read -r fileentry; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user