YaST2 Developers Documentation: Configuration of OnPanic

Configuration of OnPanic

modules/OnPanic.ycp
Configuring OnPanic, input and output functions
  • Tim Hardeck
  • Representation of the dumpconf configuration.
  • Input and output routines.

This module has an unstable interface.

Imports

  • FileUtils
  • Integer
  • Progress
  • Service
  • String

Global Variables

Global Functions

Info:

Maximal allowed rows for VMCMD?

Info:

Maximal allowed characters for VMCMD?

global modified -> boolean

Data was modified?

global start -> boolean

Should dumpconf be started?

global on_panic -> string

Panic reaction

global delay_min -> integer

Delay minutes

global vmcmds -> string

VMCMD commands

global dump_line -> string

Dump Device mkdump line

global dump_devices -> list<string>

Dump Devices list of mkdump (no need to run mkdump more than once)

global ReadSysconfig () -> boolean

Read OnPanic settings from /etc/sysconfig/dumpconf

Return value:
true when file exists
global Read () -> boolean

Read all OnPanic settings

Return value:
true on success
global Write () -> boolean

Write all OnPanic settings

Return value:
true on success