74 |
# using roots current password |
# using roots current password |
75 |
echo "password --md5 $(cat /etc/shadow | grep root | cut -d: -f2)" >> ${grubconf} |
echo "password --md5 $(cat /etc/shadow | grep root | cut -d: -f2)" >> ${grubconf} |
76 |
echo >> ${grubconf} |
echo >> ${grubconf} |
77 |
acho "# normal boot" >> ${grubconf} |
echo "# normal boot" >> ${grubconf} |
78 |
echo "title ${KERNEL_DESCRIPTION}" >> ${grubconf} |
echo "title ${KERNEL_DESCRIPTION}" >> ${grubconf} |
79 |
echo "root ${grubroot}" >> ${grubconf} |
echo "root ${grubroot}" >> ${grubconf} |
80 |
echo "kernel ${grubroot}/boot/${KERNEL_IMAGE} ${rootfs} quiet" >> ${grubconf} |
echo "kernel ${grubroot}/boot/${KERNEL_IMAGE} ${rootfs} quiet" >> ${grubconf} |