installation |
modules/ProductFetures.ycp |
Product features | |
|
|
This module has an unstable interface. |
Map of all features See defaults map below for sample contents
Features to be saved in running system one item per feature, consists of key in file, section and option
Default values for features two-level map, section_name -> [ feature -> value ]
Initialize default values of features
- Parameters:
-
force boolean drop all settings which were set before
Set a feature section Default values will be used where value not defined
- Parameters:
-
section_name section_map a map containing data of the section
Get a complete section for evaluation
- Parameters:
-
section_name string name of the section
- Return value:
-
a map key->value, options in the section
Save product features
Restore product features in running system
Initialize the features structure if needed Either read from /etc/YaST2/ProductFeatures or set default values
Get value of a feature
- Parameters:
-
section string section of the feature feature
- Return value:
-
the feature value
Get value of a feature
- Parameters:
-
section string section of the feature feature
- Return value:
-
the feature value
Get value of a feature
- Parameters:
-
section string section of the feature feature
- Return value:
-
the feature value
Set value of a feature
- Parameters:
-
section string section of the feature feature value any the feature value
Set value of a feature
- Parameters:
-
section string section of the feature feature value string the feature value
Set value of a feature
- Parameters:
-
section string section of the feature feature value boolean the feature value