touch /etc/config/mytest uci add mytest ssentry uci set mytest.@ssentry[0].enable = 1 uci set mytest.@ssentry[0].ip=123.123.123.123 uci set mytest.@ssentry[0].port =543253 uci set mytest.@ssentry[0].password=123749243 uci set mytest.@ssentry[0].remark='remark' uci commit mytest
上面这段代码向uci的mytest配置文件添加了一些SS的必要参数
未完待续