View | Details | Raw Unified
Collapse All | Expand All

(-) data.orig/etc/init.d/dhcpd (-3 / +2 lines)
 Lines 12-19    Link Here 
	DHCPD_CONF="${DHCPD_CONF%% *}"
	DHCPD_CONF="${DHCPD_CONF%% *}"
	# Now we have the cffile, we can remove it from our options
	# Now we have the cffile, we can remove it from our options
	DHCPD_OPTS="${DHCPD_OPTS//-cf/}"
	DHCPD_OPTS="`echo ${DHCPD_OPTS} | sed 's/-cf//; s/""${DHCPD_CONF}""//'`"
	DHCPD_OPTS="${DHCPD_OPTS//${DHCPD_CONF}/}"
fi
fi
depend() {
depend() {
 Lines 42-48    Link Here 
	fi
	fi
	# Setup LD_PRELOAD so name resolution works in our chroot.
	# Setup LD_PRELOAD so name resolution works in our chroot.
	if [[ -n ${DHCPD_CHROOT} ]] ; then
	if [[ -n "${DHCPD_CHROOT}" ]] ; then
	    LD_PRELOAD="${LD_PRELOAD} /usr/lib/libresolv.so"
	    LD_PRELOAD="${LD_PRELOAD} /usr/lib/libresolv.so"
	    export LD_PRELOAD="${LD_PRELOAD} /usr/lib/libnss_dns.so"
	    export LD_PRELOAD="${LD_PRELOAD} /usr/lib/libnss_dns.so"
	fi
	fi