[luci] Getting UCI configuration data
Matt Redfearn
matt.redfearn at nxp.com
Fri Jul 15 17:31:33 CEST 2011
Hi All,
I am trying to retrieve a configuration option from a UCI configuration file in Luci
As far as I can tell from the documentation, I should simple be able to do this in a template htm file
<% luci.model.uci.cursor():get("system", "system", "hostname") %>
But this does not work. The statement appears to return nil.
I am using Luci 0.10 Branch (v0.10+svn7187).
What do I have to do to load a UCI configuration option from a file??
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20110715/4ae6428d/attachment.html>
More information about the luci
mailing list