LuCI - OpenWrt Configuration Interface
Find a file
Hannu Nyman ad0585cbb4 luci-app-statistics: check that uci config sections exist
A missing or faulty luci_statistics config file may prevent
LuCI access completely already at the login phase as
the statistics config is parsed already then.

The error is like:
  .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value)

User may be completely locked out of LuCI until he figures out
the need to have a proper luci_statistics config file.

Prevent the error by checking for the existence of
the uci config sections before trying to use values from them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

(cherry picked from commit d04f667383)
2017-05-18 12:10:14 +03:00
applications luci-app-statistics: check that uci config sections exist 2017-05-18 12:10:14 +03:00
build build/zoneinfo2lua.pl: logic for Etc/GMT timezones 2017-05-18 12:09:28 +03:00
collections luci-ssl-openssl: use OpenSSL for key generation, drop px5g 2017-02-02 08:41:25 +02:00
contrib/package freifunk-common: bump version as of recent changes 2017-01-13 23:28:42 +01:00
documentation documentation: Update i18n advice 2016-10-30 12:37:04 +02:00
libs Merge pull request #563 from cshore/pull-request-app-uhttpd 2016-01-15 15:20:41 +01:00
modules luci-base: add Etc/GMT timezones 2017-05-18 12:09:37 +03:00
protocols luci-proto-wireguard: enable addressing for tunnel interfaces 2017-01-14 17:12:36 +01:00
themes luci-theme-bootstrap: tune default style select boxes 2017-01-02 11:59:21 +01:00
.buildpath * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
.cproject More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata) 2008-11-20 19:22:05 +00:00
.gitignore Update .gitignore 2015-04-20 10:08:23 +02:00
.project LuCI Core C-Rewrite: First steps 2008-11-19 23:02:36 +00:00
CONTRIBUTING.md CONTRIBUTING.md: clarify signed-off-by advice 2015-12-15 14:40:51 +02:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: fix length of abbreviated hash in version 2017-04-30 11:48:05 +03:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
README.md docs: link to the developer wiki documentation 2016-09-07 17:10:05 +00:00
THANKYOU * luci: replace all "OpenWRT" occurences with "OpenWrt" 2008-10-27 15:19:58 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.