equal
deleted
inserted
replaced
9 # |
9 # |
10 # update_hosts_dhcpe $out $src |
10 # update_hosts_dhcpe $out $src |
11 function update_hosts_dhcp { |
11 function update_hosts_dhcp { |
12 local out="$1" |
12 local out="$1" |
13 local src="$2" |
13 local src="$2" |
14 local srcs=($(list_tree $src)) |
|
15 local msg="$out: Generating DHCP hosts: $src" |
14 local msg="$out: Generating DHCP hosts: $src" |
|
15 local include_cache=$(include_cache_path $src) |
|
16 local srcs=($(include_cache $include_cache)) |
16 |
17 |
17 if apply_check "$out" "${srcs[@]}"; then |
18 if apply_check "$out" ${srcs[@]:-}; then |
18 log_skip "$msg" |
19 log_skip "$msg" |
19 else |
20 else |
20 log_apply "$msg" |
21 log_apply "$msg" |
21 |
22 |
22 apply_cmd "$out" $OPT/bin/pvl.hosts-dhcp \ |
23 apply_cmd "$out" $OPT/bin/pvl.hosts-dhcp \ |