PowerManagement settings, input and output functions
List of Global Functions
Abort - Abort function
AutoPackages - Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.
Export - Dump the power-management settings to a single map (For use by autoinstallation.)
FetchScheme - fetch a scheme
FetchSchemes - Fetch all schemes
FindScheme - Find index of a scheme
Import - Get all power-management settings from the first parameter (For use by autoinstallation.)
Modified - Was the settings modified?
Modified - Data was modified?
Read - Read all power-management settings
StoreScheme - Store the current scheme
StoreSchemes - Store all schemes
Summary - Create a textual summary and a list of unconfigured cards
TranslatePowersaveText - Translate a text using powersave mo-file
TranslateSchemeDescription - Get localized scheme description
TranslateSchemeName - Get localized scheme name
Write - Write all power-management settings
List of Global Variables
modified - Data was modified?
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.
Return value
map - with 2 lists.
Dump the power-management settings to a single map (For use by autoinstallation.)
Return value
map - Dumped settings (later acceptable by Import ())
Find index of a scheme
Function parameters
string name
Return value
integer - scheme index (-1 if not found)
Get all power-management settings from the first parameter (For use by autoinstallation.)
Function parameters
map settings
Return value
boolean - True on success
Create a textual summary and a list of unconfigured cards
Return value
list<string> - summary of the current configuration
Translate a text using powersave mo-file
Function parameters
string text
Return value
string - translated text
Get localized scheme description
Function parameters
string descr
Return value
string - localized scheme decription
Get localized scheme name
Function parameters
string name
Return value
string - localized scheme name