SETCONF
Description
Write a section value to a configuration file. This command is generally called from scripts.
Command
setconf <file> <section> [<token>] <value> [<comment>] Adds <token>=<value> to <section> in configuration file <file> If <token> is not set, the section is appended with <value> <comment> is only available if <token> is set. setconf
-n, --no-protect <file> <section> <value> Sets <section> to <value> in configuration file <file> without protecting with \"\" setconf
-d, --delete <file> <section> [<token> [<value>]] Removes section <section> from configuration file <file> If <token> is set, removes only the token from <section> If <value> is set, check token value before removing
Results
Example
U2504C099999999999>setconf /usr/Firewall/ConfigFiles/network Ethernet1 Address 10.x.x.x U2504C099999999999>