5 echo "Creating kernel and ramdisk symlinks"
7 # Get version information for the (newest) installed kernel.
8 KERNEL
="`/bin/ls -1 /boot/vmlinuz-* | tail -n 1`"
9 INITRD
="`/bin/ls -1 /boot/initrd.img-* | tail -n 1`"
11 if [ ! -e /vmlinuz
]; then
12 ln -s "$KERNEL" /vmlinuz
15 if [ ! -e /initrd.img
]; then
16 ln -s "$INITRD" /initrd.img