How to add a named UCI section via lua?
<p>I can't create a named UCI section via lua.
The equivalent using the command line is</p>

<pre><code>uci set uhttpd.test=uhttpd
uci commit
</code></pre>

<p>Which gives a config file like</p>

<pre><code>config uhttpd 'test'
</code></pre>

<p>I can't reproduce the syntax of the command-line with <em>set</em> or <em>add</em>.
The C <a href="https://github.com/jkjuopperi/uci/blob/master/lua/uci.c" rel="nofollow">source</a> seems to say there is away to pass type to <em>add</em></p>

<pre><code>local uci = require "uci"
uci.add("uhttpd", "test") -- adds anonymous section
uci.set("uhttpd", "test", "listen_http", "0.0.0.0:81") -- not added as named section missing
uci.commit("uhttpd")
</code></pre>