一、uci 介绍
Unified Configuration Interface(统一配置接口)
二、uci 编译
2.1 依赖关系
2.1.1 Lua
curl -R -O http://www.lua.org/ftp/lua-5.1.5.tar.gz
tar zxf lua-5.1.5.tar.gz
cd lua-5.1.5
make linux all test
make install
2.1.2 json-c
git clone https://github.com/json-c/json-c.git
cd json-c
cmake ./
make
make install
2.1.3 libubox
git clone https://git.openwrt.org/project/libubox.git
cd libubox
cmake ./
make
make install
2.1.4 uci
git clone https://git.openwrt.org/project/uci.git
cd ubus
cmake ./
make
make install