summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/etc
AgeCommit message (Collapse)Author
2020-03-23ucitrack: fix bug for exec with paramsjjm2473
In file `/etc/config/ucitrack` ``` config fstab option exec '/sbin/block mount' ``` `/sbin/block mount` never be called after fstab changed. Signed-off-by: jjm2473 <1129525450@qq.com>
2020-03-13luci-base: ensure that ubus path uses trailing slashJo-Philipp Wich
Without the trailing slash, probing endpoint availability will fail. Fixes: 529bde440 ("luci-base: make rpc webserver path configurable") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-13luci-base: extend rollback timeout to 90 secondsJo-Philipp Wich
Ref: #3628 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-16luci-base: make rpc webserver path configurableAnsuel Smith
Currently the ubus path that provide the webserver is hardcoded to be /ubus. Change this to make it configurable from the luci config file. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-16Merge pull request #952 from ↵Jo-Philipp Wich
cshore-history/pull-request-fstab-avoid-block-umount-on-apply luci-base: Avoid block umount on fstab apply
2018-05-18Merge pull request #1769 from jow-/masterJo-Philipp Wich
UCI apply/rollback workflow
2018-05-07luci-base: reload log on uci system changeFlorian Eckert
If log configuration get changed in uci system no new values are applied until reboot. Add /etc/init.d/log reload to exec option will solve this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-05luci-base: add transitional /etc/init.d/ucitrackJo-Philipp Wich
Ship an /etc/init.d/ucitrack for spawning a virtual service with the sole purpose to track the configurations and dependencies formerly handled by luci-reload. Once all LuCI supported services ship with procd compatible init scripts, the uci track support can be dropped. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-05treewide: rework uci apply workflowJo-Philipp Wich
Switch to rpcd based uci apply/rollback workflow which helps to avoid soft- bricking devices by requiring an explicit confirmation call after config apply. When a user now clicks "Save & Apply", LuCI first issues a call to uci apply which commits and reloads configuration, then goes into a polling countdown mode where it repeatedly attempts to call uci confirm. If the committed configuration is sane, the confirm call will go through and cancel rpcd's pending rollback timer. If the configuration change leads to a loss of connectivity (e.g. due to bad firewall rules or similar), the rollback mechanism will kick in after the timeout and revert configuration files and pending changes to the pre-apply state. In order to cover such rare cases where a lost of connectivity is expected and desired, the user is offered an "unchecked" apply option after timing out, which allows committing and applying the changes anyway, without the extra safety checks. As a consequence of this change, the luci-reload mechanism is now completely unsused since rpcd uses ubus config reload signals to reload affected services, which means that only procd-enabled services will receive proper reload treatment with the new workflow. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-21luci-base: add dhcp to system ucitrackFlorian Eckert
If hostname get changed in "/etc/config/system" dnsmasq should reloaded his config to be reached again under the URL [HOSTNAME].lan Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-01-15luci-base: Avoid block umount on fstab applyDaniel Dickinson
Default behaviour of changes to fstab (Mount Points) was to use /etc/init.d/fstab restart, however this unmounts filesystems via block umount which can cause the device to fail, so replace the initscript call with an exec of 'block mount'. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-10-06luci-base: remove default diag host from /etc/config/luciJo-Philipp Wich
Now that luci-mod-admin-full figures out the proper diagnostics host during postinstall we can remove the UCI section from the default configuration file. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-29luci-mod-admin-full: make diagnostics url customizableFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-05-25luci-base: remove deprecated 6relayd from ucitrackHannu Nyman
Cleanup /etc/config/ucitrack by removing '6relayd' item, as the whole 6relayd package was removed in 2014. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-12modules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and ↵Daniel Dickinson
save across sysupgrade /lib/uci/upload is a rather odd place for configuration files Also the files were not saved across sysupgrade, which is somewhat counter-productive for configuration files. Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>
2015-09-18luci-base: set default mediaurlbase to bootstrap (current default theme)Hannu Nyman
The mediaurlbase option in the default /etc/config/luci still points to the old openwrt.org theme that is not installed by default. The discrepancy was noted in the commit message for 55ab4e4ce22 After 55ab4e4ce22 the installed theme's uci-defaults script will correct the setting at first boot, but we should not have a deprecated theme as the default value. Set the default value to the default theme 'bootstrap'. Related old discussion at #302 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>