openresolv-1.6
[openresolv] / named.in
index 91ebc8cd8d5ee4ee8c30307cf4b35f34ce9f1580..64eb049196d40e9576cd1b59c5182d241fd290ae 100755 (executable)
--- a/named.in
+++ b/named.in
@@ -1,5 +1,4 @@
 #!/bin/sh
-# Copyright 2006 Gentoo Foundation
 # Copyright 2007 Roy Marples <roy@marples.name>
 # All rights reserved
 
@@ -68,13 +67,13 @@ NEWZONES="${NEWOPTIONS}"
 FORWARD=
 for N in ${NEWSEARCH}; do
        case "${FORWARD}" in
-               *"\n\t${N#*,};"*) ;;
+               *"\n\t${N#*,};"*);;
                *) FORWARD="${FORWARD}\n\t${N#*,};";;
        esac
 done
 for N in ${NEWNS}; do
        case "${FORWARD}" in
-               *"\n\t${N};"*) ;;
+               *"\n\t${N};"*);;
                *) FORWARD="${FORWARD}\n\t${N};";;
        esac
 done
@@ -86,7 +85,7 @@ LASTDN=
 ZONES=
 for DN in $(printf "%s\n" ${NEWDOMAIN} | sort -u); do
        case "${LASTDN}" in
-               "${DN%,*}") ;;
+               "${DN%,*}");;
                *)
                [ -n "${ZONES}" ] && ZONES="${NEWZONES}\n\t};\n};\n"
                ZONES="${ZONES}\nzone \"${DN%,*}\" {\n"