slackbuilds/a/UNUSED/grub2/50_cycojesus
Gwenhael Le Moine 0da671b6e8 big spring cleanup, putting aside currently unused scripts
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2013-03-25 22:41:45 +01:00

13 lines
486 B
Bash
Executable file

#!/bin/sh
#exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
for kernel in /boot/2.* ; do
if [ -e $kernel/bzImage ] ; then
echo "menuentry \"Slackware $(basename $kernel)\" {"
echo " set root=(hd0,2)"
echo " linux /boot/$kernel/bzImage root=/dev/sda6 ro resume=/dev/sda5"
echo "}"
fi
done