Changeset 3175


Ignore:
Timestamp:
06/14/12 20:10:13 (11 months ago)
Author:
anarcat
Message:

more style fixes (comments)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc-slavedns/trunk/alternc-slavedns

    r3174 r3175  
    6262    # create a new config for this host, in a tempfile 
    6363    while read domain; do 
    64       # check if the data is valid, this will also display the domain in debug mode 
     64        # check if the data is valid, this will also display the domain in debug mode 
    6565        if echo $domain | grep -i '^\([a-z0-9]\([-a-z0-9]*[a-z0-9]\)\?\.\)*[a-z0-9]\([-a-z0-9]*[a-z0-9]\)$'; then 
    6666            echo "validated domain $domain" | MaybeCat 
     
    120120    [ "${DEFAULTS}" = "${conf}" -o "slavedns.conf" = "${conf}" ] && continue 
    121121    URL="" 
    122   # source defaults 
     122    # source defaults 
    123123    . ${DEFAULTSFILE} 
    124   # source this site's config 
     124    # source this site's config 
    125125    . $CONFDIR/${conf} 
    126126    if [ -z "$URL" ]; then 
     
    144144        [ "${LOGIN}" ] && ResetWgetConf 
    145145        if [ -s "${CACHEDIR}/${conf}.temp" ]; then 
    146           # If the slave file has changed, synchronize it. 
     146            # If the slave file has changed, synchronize it. 
    147147            if ! [ "${FORCE}" ] && cmp ${CACHEDIR}/${conf}.temp ${CACHEDIR}/${conf} > /dev/null; then 
    148148                echo "no change found for '${conf}'" 
     
    150150                echo "change detected for '${conf}', applying" 
    151151                mv -f ${CACHEDIR}/${conf}.temp ${CACHEDIR}/${conf} 
    152                    # Now parse the slave file and send it to /etc/bind/slavedns 
     152                # Now parse the slave file and send it to /etc/bind/slavedns 
    153153                CreateBindConf ${conf} 
    154154                if named-checkconf ${BINDDIR}/${conf}; then 
     
    163163        fi 
    164164    fi 
    165 done     # Main loop on config files 
     165done # Main loop on config files 
    166166 
    167167if [ "$RELOAD" ]; then 
Note: See TracChangeset for help on using the changeset viewer.