mirror of
https://github.com/uklans/cache-domains
synced 2024-11-22 03:13:03 +00:00
Include advice for unbound script
This commit is contained in:
parent
634b7dfff8
commit
14ccfecb1f
2 changed files with 14 additions and 1 deletions
|
@ -80,4 +80,10 @@ while read -r entry; do
|
|||
done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
|
||||
done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
|
||||
|
||||
echo "Please copy the following files:\n- ./output/dnsmasq/lancache.conf to /etc/dnsmasq/dnsmasq.d/\n- ./output/dnsmasq/hosts to /etc/dnsmasq/"
|
||||
cat << EOF
|
||||
Configuration generation completed.
|
||||
|
||||
Please copy the following files:
|
||||
- ./${outputdir}/lancache.conf to /etc/dnsmasq/dnsmasq.d/
|
||||
- ./${outputdir}/hosts to /etc/dnsmasq/
|
||||
EOF
|
||||
|
|
|
@ -63,3 +63,10 @@ while read entry; do
|
|||
done <<< $(jq -r ".cache_domains[$entry].domain_files[$fileid]" $path)
|
||||
done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
|
||||
done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
|
||||
|
||||
cat << EOF
|
||||
Configuration generation completed.
|
||||
|
||||
Please copy the following files:
|
||||
- ./${outputdir}/*.conf to /etc/unbound/unbound.conf.d/
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue