configuring lilo on package installation
I'm working on a nvram-wakeup package for a Debian based VDR
distribution (c't vdr). nvram-wakeup needs a special kernel-image, that
forces a shutdown on the next reboot. Normally this image is installed
to /boot and a new section has to be added to lilo.conf:
image = /boot/bzImage.poweroff
label = PowerOff
It wouldn't be a problem to modify the lilo.conf in the maintainer
script, but I'm not sure if this is the way this should be done.
What's the best way to add a section to the lilo.conf during package
installation (and remove it when uninstalling)?