YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

functions used for checkning GRUB configuration originaly from bootloader/src/grub/misc.ycp, yast2-bootloader now doesn't provide this API

Imports

  • BootCommon

Global Functions

global grubDev2unixDev (string o_dev) -> string

translate grub device (hd0) to UNIX device /dev/hda

Parameters:
o_dev string grub device
Return value:
UNIX device
global parseGrubConf (string file) -> map<string,string>

parse /etc/grub file from other file

Parameters:
file string contents of grub.conf file
Return value:
of settings
global isSpecial (string opt) -> boolean

return true if given option is special

Parameters:
opt option name
Return value:
special/not