Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289196
Collapse All | Expand All

(-)files/kexec.init (-2 / +2 lines)
Lines 59-66 Link Here
59
	if  [ -z "${INITRD}" -a -e "${BOOTPART}"/initrd ] ; then 
59
	if  [ -z "${INITRD}" -a -e "${BOOTPART}"/initrd ] ; then 
60
	    INITRD="${BOOTPART}/initrd"
60
	    INITRD="${BOOTPART}/initrd"
61
	fi
61
	fi
62
	if [ -e "${INITRD}" ] ; then
62
	if [ -e "${BOOTPART}/${INITRD}" ] ; then
63
	    initrdopt="--initrd=${INITRD}"
63
	    initrdopt="--initrd=${BOOTPART}/${INITRD}"
64
	fi
64
	fi
65
65
66
	kexec -l "${img}" --append="root=${ROOTPART} ${KPARAM}" ${initrdopt}
66
	kexec -l "${img}" --append="root=${ROOTPART} ${KPARAM}" ${initrdopt}

Return to bug 289196