YaST2 Developers Documentation: Configuration of power-management

Configuration of power-management

clients/power-management_auto.ycp
Client for autoinstallation
  • Jiri Srain

This module has an unstable interface.

This is a client for autoinstallation. It takes its arguments, goes through the configuration and return the setting. Does not do any changes to the configuration.

Imports

  • Mode
  • PowerManagement
  • Progress
  • Progress

Includes

  • power-management/wizards.ycp

Local Functions

Info:

Parameters:
function to execute
map /list of power-management settings
Return value:
edited settings, Summary or boolean on success depending on called function
Example
 map mm = $[ "FAIL_DELAY" : "77" ];
 map ret = WFM::CallFunction ("power-management_auto", [ "Summary", mm ]);
local CreateNewSchemesMap (map settings) -> void

Fill the new_schemes map so that schemes that weren't existing before importing have their config file initialized before modifying it

Parameters:
settings the import map