changeset 98 | a3734856e0fa |
parent 95 | a756f317d083 |
child 100 | 44c32fd60997 |
--- a/bin/update Sat Dec 21 22:43:38 2013 +0200 +++ b/bin/update Sun Dec 22 15:33:32 2013 +0200 @@ -43,9 +43,9 @@ done log "Updating DHCP hosts..." - for hosts in $(list_files etc/hosts); do - update_hosts_dhcp "var/dhcp/hosts/$hosts.conf" \ - "etc/hosts/$hosts" + for hosts in $(list etc/hosts/dhcp); do + update_hosts_dhcp "var/dhcp/hosts/$hosts.conf" $hosts \ + $(expand_files "etc/hosts/dhcp/$hosts") done log "Updating reverse host zones..."