[luci] Where to put parameters for a LuCI application

Christian Schoenebeck christian.schoenebeck at gmail.com
Thu Aug 14 22:06:09 CEST 2014


Hi,

I'm currently working on rewriting ddns-scripts including a new luci-app-ddns.
I want to use some uci parameters to show different information inside luci app depending on these settings.
i.e. show time of last update or to show time until next update.

Where to put this uci parameters ? Ideas from my side:

/etc/config/ddns	- ddns-scripts configuration	- config application 'luci'
/etc/config/luci	- luci specific configuration	- config application 'ddns'	
/etc/config/luci-ddns	- complete separate config	- config ???

I would prefere config application 'ddns' inside /etc/config/luci

Are there any standards defined ?

Christian


More information about the luci mailing list