[luci] Luci Modules
Steven Barth
steven at midlink.org
Wed Jul 21 16:52:38 CEST 2010
Hi William,
there are 2 compilation settings for LuCI, one is a compile-time setting in
make menuconfig
under LuCI -> Libraries -> LuCI core libraries -> Build Target.
There you can decide whether the device should have: full source, stripped
source or bytecode in the .lua files on the device.
If you selected to have full source or stripped sourcecode, then there is a
run-time option luci.ccache.enable which enables or disables a compile-time
cache (which is probably what you are looking for).
You can disable this cache by doing
uci set luci.ccache.enable=0
uci commit luci
or by changing the value to 0 directly in /etc/config/luci.
This is the permament solution for your problem,
The temporary solution would be to delete /tmp/luci-modulecache after each
change.
Regards,
Steven
Am Mittwoch 21 Juli 2010, 15:43:49 schrieb William Kenyon:
> Hello there,
> I've been playing arround with building my own luci modules and so far
> everything has been going smashing.
> However I'd just like to ask you folks about developing on a running
> openwrt box.
> The thing is, I can't work out how to get my changes to take effect without
> having to reset the box.
> Is there anything I can do, or would you reccomend just using make runhttp
> in a build environment?
>
> And if you have time i'd wonder if you have any idea how I would go about
> having a text field be linked to two seperate uci properties (they should
> be linked and only ever hold the same data).
>
> Thanks,
>
> Will
More information about the luci
mailing list