Edit menu.lst in postinst script
free at agnula.org
Wed Apr 19 10:41:47 UTC 2006
I'm packaging the bootsplash scripts  for kernel boot splash
support. In order to have a fully automated setup, the package would
need to edit the menu.lst file and add options like:
# kopt=<standard options> splash=silent vga=791
and then run update-grub.
Is there a recommended way to do this in a script?
Maybe it would be better not to edit menu.lst directly, and implement
some support for modularized configuration  in update-grub, for
example having a directory
where other packages can drop files with chunks of configuration.
 see http://lists.debian.org/debian-custom/2006/01/msg00001.html
More information about the Pkg-grub-devel