YaST2 Developers Documentation: Editor for /etc/sysconfig files



functions
files
intro

Editor for /etc/sysconfig files

include/sysconfig/cmdline.ycp
Command line interface functions.
All command line interface functions (handlers).

Imports

  • CommandLine
  • Progress
  • RichText
  • Sysconfig

Includes

  • sysconfig/complex.ycp

Local Functions

local listHandler (map options) -> boolean

Command line interface - handler for list command

Parameters:
options list command options
Return value:
Returns true (succeess)

local setHandler (map<string, any> options) -> boolean

Command line interface - handler for set command

Parameters:
options list command options
Return value:
True on success

local detailsHandler (map<string, any> options) -> boolean

Command line interface - handler for details command

Parameters:
options details command options
Return value:
True on success

local variable2id (string variable) -> string

Convert variable name to the full variable identification If there are conflicts (same variable is defined more files) or variable is not found nil is returned

Parameters:
variable Variable name
Return value:
variable identification

local writeHandler () -> boolean

Write handler - disable progress bar (there is no UI) and write settings to the system.

Return value:
True on sucess

YaST2 Developers Documentation