LuCI - OpenWrt Configuration Interface
Find a file
Jo-Philipp Wich 276046c8e9 luci-mod-network: handle dynamic device configuration defaults
Most uci network device configuration settings have no specific default
value which means that netifd will only alter the related sysfs parameters
if an explicit value is specified in uci. When omitted from the
configuration, the related sysfs setting is left untouched.

This behaviour collides with LuCI's approach of purging boolean options
from the configuration if they match their default value, leading to the
inability to disable or enable certain settings as described in #6219.

Solve this issue by replacing flag widgets with tri-state selects offering
an "automatic" (default) as well as an explicit "enabled" and "disabled"
choice. Also query sysfs on load and preset the automatic choice with an
indication whether the underlying sysfs settings is currently active or not.

Fixes: #6219
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-02-07 10:09:42 +01:00
.github Merge pull request #5567 from TDT-AG/pr/20211202-github-issue-templates 2022-01-13 10:34:10 +01:00
applications Translated using Weblate (Romanian) 2023-02-05 20:24:47 +02:00
build build: i18n-scan.pl: add support for ucode sources and templates 2022-10-25 01:03:37 +02:00
collections luci-ssl: switch to mbedtls 2023-02-04 09:14:43 +02:00
contrib/package contrib: introduce ucode-mod-html 2022-10-25 01:03:36 +02:00
docs CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
libs rpcd-mod-luci: fix reporting network device flags 2023-02-07 10:09:42 +01:00
modules luci-mod-network: handle dynamic device configuration defaults 2023-02-07 10:09:42 +01:00
protocols luci-proto-autoip: fix protocol name 2022-12-19 15:29:47 +01:00
themes luci-theme-bootstrap: minor style fixes 2023-02-07 10:09:42 +01:00
.gitignore .gitignore: adjust paths for autogenerated plural_formula sources 2022-10-25 13:26:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md: Fix sign_your_work link. 2020-03-01 14:33:20 -08:00
jsdoc.conf.json docs: various updates 2019-11-07 12:39:24 +01:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: fix compatibility with GNU Make 4.2 2022-10-25 12:20:22 +02:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
package.json CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
README.md docs: various updates 2019-11-07 12:39:24 +01:00

OpenWrt luci feed

Translation status

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.

Translation status

Translation status