YaST2 Developers Documentation: Configuration of lilo



functions
files
intro

Configuration of lilo

misc.ycp
miscellaneous functions.
miscellaneous functions.

Imports

  • Lilo

Includes

  • lilo/io.ycp
  • lilo/routines.ycp

Functions

global getGrubKernelParam (string section, string key) -> string

get kernel parameters from menu.lst

Parameters:
section string section title
key string key
Return value:
value, "false" if not present, "true" if present key without value

global setGrubKernelParam (string section, string key, string value) -> boolean

set kernel parameter to menu.lst

Parameters:
section string section title
key string parameter key
value string value, "false" to remove key, "true" to add key without value
Return value:
true on success

global getKernelParam (string section, string key) -> string

get kernel parameters from bootloader configuration file

Parameters:
section string section title, use DEFAULT for default section
key string
Return value:
value, "false" if not present, "true" if present key without value

global setKernelParam (string section, string key, string value) -> boolean

set kernel parameter to menu.lst

Parameters:
section string section title, use DEFAULT for default section
key string parameter key
value string value, "false" to remove key, "true" to add key without value
Return value:
true on success

global saveBootloaderConfig (boolean rebuildInitrd) -> boolean

save bootloader configuration

Parameters:
rebuildInitrd boolean force rebuilding initial ramdisk, if false never gets rebuilt
Return value:
true on success

global getDefaultSection () -> string

return default section label

Return value:
default section label

YaST2 Developers Documentation