YaST2 Developers Documentation: Linuxrc

Linuxrc

modules/Linuxrc.ycp Purpose: Interaction with linuxrc
  • Anas Nashif

This module has an unstable interface.

Imports

  • Mode
  • Stage

Global Functions

global serial_console () -> boolean

running via serial console

global braille () -> boolean

braille mode ?

global vnc () -> boolean

vnc mode ?

global display_ip () -> boolean

remote X mode ?

global usessh () -> boolean

ssh mode ? if booted with 'vnc=1 usessh=1', keep vnc mode, but start sshd if booted with 'display_ip=1.2.3.4 usessh=1', keep remote X mode, but start sshd this has to be checked by the caller, not here

global text () -> boolean

we're running in textmode (-> UI::GetDisplayInfo())

global WriteYaSTInf (map<string,string> linuxrc) -> void

Write /etc/yast.inf during installation

Parameters:
linuxrc map of key value pairs for /etc/yast.inf