On Thu, Aug 02, 2012 at 05:32:51PM +0700, Nguyễn Hồng Quân wrote: > To make a software use UCI for configuration instead of its own > config, what do we have to do? Do we change in that software source > code or UCI source code? > > For example, I want to make UCI setting for WifiDog.
Many packages just pull values out of UCI and create a temp config file during init. igmpproxy[1] is a good example. > Also, is there documentation about using C API of libuci? I searched > but found no one. If you want to keep config natively in UCI you certainly can. We ended up just looking at the uci source[2] to see how libuci is used. - Ryan 1. https://dev.openwrt.org/browser/packages/net/igmpproxy/files/igmpproxy.init 2. http://nbd.name/gitweb.cgi?p=uci.git;a=blob;f=cli.c;hb=HEAD _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
