bin/update
changeset 70 68b67c7f2dd1
parent 69 88a7683efc54
child 71 e0576a968171
equal deleted inserted replaced
69:88a7683efc54 70:68b67c7f2dd1
   197 function run_dhcp {
   197 function run_dhcp {
   198     log_debug "DHCP_CONFS: ${DHCP_CONFS[*]}"
   198     log_debug "DHCP_CONFS: ${DHCP_CONFS[*]}"
   199 
   199 
   200     log "Copying DHCP configs..."
   200     log "Copying DHCP configs..."
   201         for conf in "${DHCP_CONFS[@]}"; do
   201         for conf in "${DHCP_CONFS[@]}"; do
       
   202             # XXX: ei toimi, koska conf:it riippuu toisistaan include:ien takia
       
   203             # check_dhcp_conf     $conf
       
   204 
   202             #                   conf               base
   205             #                   conf               base
   203             check_dhcp_conf     $conf
       
   204             copy_dhcp_conf      $conf
   206             copy_dhcp_conf      $conf
   205         done
   207         done
   206 
   208 
   207     log "Testing dhcp..."
   209     log "Testing dhcp..."
   208         # this is partially redundant with the above check_dhcp_hosts, but doesn't matter
   210         # checks the whole dhcpd.conf, with all includes..
   209         check_dhcp
   211         check_dhcp
   210 }
   212 }
   211 
   213 
   212 # Runs DHCP checks, once DNS hosts have been updated
   214 # Runs DHCP checks, once DNS hosts have been updated
   213 function run_dhcp_check {
   215 function run_dhcp_check {