Line 323: |
Line 323: |
| <table class="nd-othertables_2" style="width: 100%;"> | | <table class="nd-othertables_2" style="width: 100%;"> |
| <tr> | | <tr> |
− | <th width=25%>Example structure</th> | + | <th width=30%>Example structure</th> |
− | <th width=25%>Description</th> | + | <th width=35%>Description</th> |
− | <th width=50%>Example SMS text</th> | + | <th width=35%>Example SMS text</th> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>get</b> <config>.<section>.<option_name></td> | | <td>uci <b>get</b> <config>.<section>.<option_name></td> |
| <td>Returns the value of a single configuration option.</td> | | <td>Returns the value of a single configuration option.</td> |
− | <td><i>uci get network.wan.ipaddr</i> - returns the router's WAN IP address.</td> | + | <td><li><i>uci get network.wan.ipaddr</i></li>Returns the router's WAN IP address.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>set</b> <config>.<section>.<option_name>="value"</td> | | <td>uci <b>set</b> <config>.<section>.<option_name>="value"</td> |
| <td>Sets the value of a specified configuration option.</td> | | <td>Sets the value of a specified configuration option.</td> |
− | <td><i>uci set network.mobile.apn=example</i> - changes mobile APN value to "example".</td> | + | <td><li><i>uci set network.mobile.apn=example</i></li>Changes mobile APN value to "example".</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>show</b> <config></td> | | <td>uci <b>show</b> <config></td> |
| <td>Returns the contents of a config file</td> | | <td>Returns the contents of a config file</td> |
− | <td><i>uci show openvpn</i> - returns the contents of the "openvpn" config file.</td> | + | <td><li><i>uci show openvpn</i></li>Returns the contents of the "openvpn" config file.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>show</b> <config>.<section></td> | | <td>uci <b>show</b> <config>.<section></td> |
| <td>Returns the exact part (section) of a config file.</td> | | <td>Returns the exact part (section) of a config file.</td> |
− | <td><i>uci show network.lan</i> - returns the configuration of the "lan" section from the "network" config file.</td> | + | <td><li><i>uci show network.lan</i></li>Returns the configuration of the "lan" section from the "network" config file.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>delete</b> <config>.<section></td> | | <td>uci <b>delete</b> <config>.<section></td> |
| <td>Deletes the specified section in a configuration file. To avoid operation issues, please use this command to delete optional configuration sections only (not mandatory ones).</td> | | <td>Deletes the specified section in a configuration file. To avoid operation issues, please use this command to delete optional configuration sections only (not mandatory ones).</td> |
− | <td><i>uci delete network.lan4</i> - deletes a network interface called "lan4".</td> | + | <td><li><i>uci delete network.lan4</i></li>Deletes a network interface called "lan4".</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>uci <b>delete</b> <config>.<section>.<option_name></td> | | <td>uci <b>delete</b> <config>.<section>.<option_name></td> |
| <td>Deletes the specified configuration option. To avoid operation issues, please use this command to delete optional configuration options only (not mandatory ones).</td> | | <td>Deletes the specified configuration option. To avoid operation issues, please use this command to delete optional configuration options only (not mandatory ones).</td> |
− | <td><i>uci delete dhcp.lan.force</i> - deletes the "force" option for DHCP server of the "lan" interface (which in turn disables the "Force DHCP" function of that DHCP server).</td> | + | <td><li><i>uci delete dhcp.lan.force</i></li>Deletes the "force" option for DHCP server of the "lan" interface (which in turn disables the "Force DHCP" function of that DHCP server).</td> |
| </tr> | | </tr> |
| </table> | | </table> |