• Increase font size
  • Default font size
  • Decrease font size
Home Software SysFunc Sysfunc Reference Guide - Configuration parameters

Sysfunc Reference Guide - Configuration parameters

E-mail Print
Read : 2,894 times
(0 votes, average 0 out of 5)
Article Index
Sysfunc Reference Guide
Configuration parameters
System database
Disk management
Error handling
File manipulation
Filesystems
IP V4 addresses
Kernel
Logical volume manager
Miscellaneous
Message display
User interaction
Network
OS
File backup
Software packages
Services
Time and date
Temporary file management
Users and groups
Vmware-specific
Function index
All Pages

cfg_check

Aborts if the given parameter is not a valid one

Arguments

$1Parameter

Returns

Only if parameter is valid

Displays

If parameter is invalid, aborts with error message

cfg_display

Display the parameters along with their default and actual values

Arguments

None

Returns

0

Displays

Parameters

cfg_dump

Display parameters with actual value in raw format

Format of each line : <parameter><space><value>

The output of this function does not allow to say if a value is the default one or not.

Arguments

None

Returns

0

Displays

List of '<parameter><space><value>' lines

cfg_exists

Check that the given parameter is a valid one

Actually, parameter is valid if a default value is registered for this param.

Arguments

$1Parameter

Returns

0 if parameter exists, =!0 if not

Displays

nothing

cfg_get

Get parameter value

If parameter is set, returns set value. Else, returns default value.

Arguments

$1Parameter

Returns

Only if parameter is valid

Displays

Parameter value

cfg_get_default

Get parameter default value

Arguments

$1Parameter

Returns

Only if parameter is valid

Displays

Parameter default value

cfg_info

Display parameter information

Arguments

$*Optional. List of parameters. If empty, display every defined parameters

Returns

0

Displays

Parameters and related information

cfg_isset

Check if a parameter is explicitely set (not default)

Arguments

$1Parameter

Returns

0 if parameter is set (not default value), 1 if not set

Displays

nothing

cfg_list

List defined configuration parameters

Arguments

None

Returns

0

Displays

Defined parameters, one by line

cfg_set

Set an explicit parameter value

To reset a parameter to its default value, see cfg_unset

Arguments

$1Parameter
$2Value

Returns

Only if parameter is valid

Displays

Nothing

cfg_unset

Reset a parameter to its default value

Arguments

$1Parameter

Returns

Only if parameter is valid

Displays

Nothing

 

Please login or register to add a comment