Instruction Manual

The config Tool:

Syntax

config [ ahv ] [ d id ] [ g id ] [ p path ] [ r configurator ] [ s id=value ]

Description

The config tool allows manipulation and querying of the system configura- tion from the command line. Using config, the new configuration can be activated by running the relevant configurator which performs the action necessary to make the configuration changes live.

Configuration elements which can be changed are specified by a unique ‘.’ separated name. For example the configuration file version is identified as ‘config.version’.

 

Run all registered configurators. This

-a –run-all

performs every configuration

synchronization action pushing all changes

 

 

to the live system

 

 

-h –help

Display a brief usage message.

 

 

-v –verbose

Log extra debug information

 

 

 

Remove the given configuration element

-d –del=id

specified by a ‘.’ separated

 

identifier.

 

 

-g –get=id

Display the value of a configuration element

 

 

 

Specify an alternate configuration file to

-p –path=file

use. The default file is located at /etc/config/

 

config.xml

 

 

 

Run the specified registered configurator.

 

Registered configurators are alerts,

-r –run=configurator

auth, dialin, eventlog, ipconfig, power,

 

serialconfig, services, systemsettings, time

 

and users.

 

 

-s --set=id=value

Change the value of configuration element

specified by a ‘.’ separated identifier.

 

 

 

92

Page 99
Image 99
StarTech.com ECS0016 manual Config Tool Syntax, Description, Run all registered configurators. This