说明: uci set <config>.<section>=<section-type> 增加一个节点到文件中 uci set <config>.<section>.<option>=<value> 增加一个选项和值到节点中 uci add_list <config>.<section>.<option>=<value> 增加一个值到列表中 新增节点: uci set firewall.test=rule uci add_list firewall.test.icmp_type='router-advertisement' uci set firewall.test.target='DROP' uci set firewall.test.src='wan' uci set firewall.test.proto='icmp' uci set firewall.test.family='ipv6' uci commit firewall 删除节点 uci del firewall.test
参考:https://blog.csdn.net/m0_37922443/article/details/103006846