--- /usr/portage/net-misc/dhcp/files/dhcpd.init2 2009-07-09 14:45:22.000000000 +0000 +++ /etc/init.d/dhcpd 2009-08-19 16:33:40.000000000 +0000 @@ -18,11 +18,11 @@ } checkconfig() { - /usr/sbin/dhcpd -cf ${DHCPD_CHROOT}/${DHCPD_CONF} -t 1>/dev/null 2>&1 + /usr/sbin/dhcpd -cf ${DHCPD_CONF} ${DHCPD_CHROOT:+-chroot} ${DHCPD_CHROOT} -t 1>/dev/null 2>&1 ret=$? if [ $ret -ne 0 ]; then eerror "${SVCNAME} has detected a syntax error in your configuration files:" - /usr/sbin/dhcpd -cf ${DHCPD_CHROOT}/${DHCPD_CONF} -t + /usr/sbin/dhcpd -cf ${DHCPD_CONF} ${DHCPD_CHROOT:+-chroot} ${DHCPD_CHROOT} -t fi return $ret