diff options
Diffstat (limited to 'main/unbound/migrate-dnscache-to-unbound')
-rw-r--r-- | main/unbound/migrate-dnscache-to-unbound | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/unbound/migrate-dnscache-to-unbound b/main/unbound/migrate-dnscache-to-unbound index 4fbb875fb..babbcd4d1 100644 --- a/main/unbound/migrate-dnscache-to-unbound +++ b/main/unbound/migrate-dnscache-to-unbound @@ -32,9 +32,9 @@ gen_config() { fi for zonefile in "$root"/etc/dnscache/servers/*; do local zone=${zonefile##*/} - if [ "$zone" = "@" ] || [ "$zone" = '*' ]; then - continue - fi + case "$zone" in + '@'|'*'|*.apk-new) continue;; + esac echo "${fwdtype}-zone:" echo -e "\tname: ${zone}" for ip in $(cat $zonefile); do |