View | Details | Raw Unified | Return to bug 76834 | Differences between
and this patch

Collapse All | Expand All

(-)isc-dhcpd.sh.inc Sat Jan 29 14:36:08 2005 (+10 lines)
Lines 37-42 Link Here
37
dhcpd_hostname=${dhcpd_hostname:-}                     # jail hostname
37
dhcpd_hostname=${dhcpd_hostname:-}                     # jail hostname
38
dhcpd_ipaddress=${dhcpd_ipaddress:-}                   # jail ip address
38
dhcpd_ipaddress=${dhcpd_ipaddress:-}                   # jail ip address
39
39
40
dhcpd_include_dir=${dhcpd_include_dir:-}       # directory to be copied to chroot
41
                                            # useful for included config files
42
40
safe_run ()    # rc command [args...]
43
safe_run ()    # rc command [args...]
41
{
44
{
42
       local _rc
45
       local _rc
Lines 409-414 Link Here
409
       _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile}
412
       _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile}
410
       _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile}
413
       _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile}
411
       _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile}
414
       _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile}
415
       _dhcpd_include_dir=${dhcpd_rootdir}${dhcpd_include_dir}
412
}
416
}
413
417
414
setup_compat ()
418
setup_compat ()
Lines 450-455 Link Here
450
                       safe_copy ${dhcpd_devdir} ${_dhcpd_devdir}
454
                       safe_copy ${dhcpd_devdir} ${_dhcpd_devdir}
451
               fi
455
               fi
452
               safe_copy ${dhcpd_conffile} ${_dhcpd_conffile}
456
               safe_copy ${dhcpd_conffile} ${_dhcpd_conffile}
457
458
               # copy dhcpd_include_dir if defined
459
               if [ -d "${dhcpd_include_dir}" ]; then
460
                       safe_mkdir ${_dhcpd_include_dir}
461
                       safe_copy ${dhcpd_include_dir} ${_dhcpd_include_dir}
462
               fi
453
       fi
463
       fi
454
}
464
}

Return to bug 76834