diff --git a/scripts/create-dnsmasq.sh b/scripts/create-dnsmasq.sh index 3a2d5a9..b3e054d 100755 --- a/scripts/create-dnsmasq.sh +++ b/scripts/create-dnsmasq.sh @@ -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 diff --git a/scripts/create-unbound.sh b/scripts/create-unbound.sh index 1364a47..32f64c3 100755 --- a/scripts/create-unbound.sh +++ b/scripts/create-unbound.sh @@ -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