setconf operation

The setconf operation sets the value of a field found in a particular section of a configuration file. If a comma is needed in any of the parameters in the command, the value of the parameter will be framed in brackets.

Format

"serial | any", setconf, "file", "section", "field", "value"

Examples

any, setconf, network, ethernet0, Protected, 0

any, setconf, object, Host, gateway, "192.168.0.254, resolve=static"