ChorusOS 4.0 Introduction

Adding, Removing, or Listing a Feature

You can use the configurator utility to add, remove, or list a feature.

Adding a Feature

To add a feature, type:


% configurator -set feature_name=true

The status of the feature_name is set to true.

For example, to add the EVENT feature to the default configuration:


% configurator -set EVENT=true

The configurator utility does not handle feature dependencies automatically. If you define a set that is not complete, an error message is displayed.

Removing a Feature

To remove a feature, type:


% configurator -set feature_name=false

The status of the feature_name feature is set to false.

For example, to remove the EVENT feature:


% configurator -set EVENT=false 

You can reset the value of a feature to the default as follows:


% configurator -reset EVENT  


Note -

The reset command resets the value to the extended profile default.


Listing a Feature

You can check the value of a feature as follows:


% configurator -list feature feature_name 

The output lists the feature and its status. If you omit feature_name, all features are displayed:


% configurator -list feature

SEM bool 'true'
EVENT bool 'true'
RTMUTEX bool 'false'
TIMER bool 'true'
VTIMER bool 'false'
DATE bool 'true'

You can list a feature in greater detail with the -info option:


% configurator -info feature feature_name 

The output lists the feature, its status, possible values and its description. For example:


% configurator -info feature NFS_SERVER

NFS_SERVER:bool='false'
Possible values: true|false
Description: NFS server access from target machine