reassign 417030 grub-invaders
tags 417030 upstream
thanks
grub2 has switched to a new, modular update-grub implementation. 3rd party
applications intended to be used with grub are now expected to provide their
own module for grub.cfg (equivalent to menu.lst) configuration.
Attached script can be deployed in /etc/grub.d/20_invaders to add a boot
entry for your program.
Note: Running update-grub automaticaly is garanteed to be safe. I suggest
you take advantage of this and run update-grub in postinst, if found (but
please do not make assumptions about its location).
Btw, also note that /etc/grub.d is an upstream feature. If you want, you can
send these scripts to your upstream, too.
--
Robert Millan
My spam trap is [EMAIL PROTECTED] Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
#!/bin/bash -e
if test -e /boot/invaders ; then
echo "Found GRUB Invaders: /boot/invaders" >&2
cat << EOF
menuentry "GRUB Invaders" {
multiboot /boot/invaders
}
EOF
fi