LILO always passes the string BOOT_IMAGE= name to the kernel, where name is the name by which the kernel is identified (e.g. the label). This variable can be used in /etc/rc to select a different behaviour, depending on the kernel.
When booting automatically, the word auto is also passed on the command line. This can be used by init to suppress interactive prompts in the boot phase.