OpenWrt uci增加一个section
作者:互联网
说明: 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
标签:set,..,firewall,section,uci,test,节点,OpenWrt 来源: https://www.cnblogs.com/v5captain/p/16175769.html