#19096: LuCI does not show buttons.lua, but code is there
-------------------------------+----------------------------------
Reporter: nilfred@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: luci | Version: Trunk
Keywords: buttons GPIO keys |
-------------------------------+----------------------------------
I found a report from 2012:
https://forum.openwrt.org/viewtopic.php?pid=182193#p182193
Where is also a patchset.
In a running system:
{{{
opkg list-installed base-files
base-files - 157-r44154
find / -name buttons.lua
/rom/usr/lib/lua/luci/model/cbi/admin_system/buttons.lua
/usr/lib/lua/luci/model/cbi/admin_system/buttons.lua
tail -2 /usr/lib/lua/luci/model/cbi/admin_system/buttons.lua
max = s:option(Value, "max", translate("Maximum hold time"))
max.rmempty = true
echo "return m" >> /usr/lib/lua/luci/model/cbi/admin_system/buttons.lua
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19096>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets