Age | Commit message (Collapse) | Author |
|
Remove sysupgrade_backup from help. Also have it check parameters.
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
|
|
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
|
|
Add a backup/restore capability for rrd data storage in
luci_statistics. The data storage is typically in /tmp and does not
survive reboot or sysupgrade. This adds an option for the
administrator to configure the RRD plugin, so that the RRD data are
are preserved with a backup copy in the overlay file system.
This works for shutdown/reboot, sysupgrade (backup config files,
restore config files, and true sysupgrade).
Also fix a bug where starting luci_statistics for the first time would
not get a restart a running collectd: during install of the package
when it is not included in the base flashed image, collectd might be
started when it got installed/configured before this package gets
installed/configured. So we need to check if it's running, and
restart it to use the luci_statistics configuration.
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
|
|
Rewrite the collectd config generator script in ucode to remove the implicit
dependency on the Lua runtime.
Also move the stat-genconfig script into /usr/libexec as it isn't really a
user facing executable.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Convert init script to procd format in order to register reload triggers
on /etc/config/luci_statistics.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Both init.d and uci-defaults scripts included in luci-app-statistics
still contained stuff related to lucid, which package was removed by
https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc
Changes to scripts:
* init.d: lucid reference removed,
/var/etc creation moved earlier (before first possible use)
* uci-defaults: lucid parameters & restart removed
(but busybox httpd stuff was left intact, although it might be unnecessary)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
* 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>
|