Go to file
Martin Blumenstingl 96ae89c801 net/vnstat: enable auto-respawn when vnstatd crashes
Originally this was indended as a fix for devices without RTC support
which do not have the correct time set after a reboot (until ntp is able
to update the system time). vnstat checks if there is a time difference
between the latest entry in the database and detects that the system time
is incorrect. In this case vnstat does not start (to prevent database
corruption), the following message is reported instead:
'Error: Interface "..." has previous update date too much in the future,
exiting.'
Once we have network connectivity (and ntp has updated the system time)
vnstat starts correctly though.
vnstat 1.18 fixes this by waiting a few minutes (instead of exiting) and
the following message is logged:
"Latest database update is in the future (db: 2018-04-28 08:39:11 > now:
2018-04-28 08:07:18). Giving the system clock up to 5 minutes to sync
before continuing."

This still adds a procd respawn trigger to let procd automatically
restart vnstat in case:
- vnstat it crashes
- no valid system time is received for a long time (no network
  connectivity, broken NTP servers, ...)

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2018-05-31 13:03:38 +02:00
.github github: adapt templates 2018-01-27 11:24:43 +08:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin htop: update to 2.2.0 2018-04-24 19:01:14 +03:00
devel patch: update to version 2.7.6 2018-02-13 02:29:27 -08:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6/tayga treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
kernel exfat-nofuse: set Yousong Zhou as the current maintainer 2018-01-25 09:36:20 +08:00
lang php7: update to 7.2.6 2018-05-27 17:04:08 +02:00
libs Merge pull request #6146 from neheb/libshout 2018-05-30 17:04:42 +00:00
mail mutt: bump to version 1.10.0 2018-05-30 06:32:56 +02:00
multimedia Merge pull request #6115 from cotequeiroz/crtmpserver_openssl-1.1 2018-05-25 13:40:36 +02:00
net net/vnstat: enable auto-respawn when vnstatd crashes 2018-05-31 13:03:38 +02:00
sound Merge pull request #5680 from neheb/shairplay 2018-05-20 20:53:59 +00:00
utils rtty: Update to 4.1.2 2018-05-23 20:42:02 +08:00
.travis.yml build,travis: do not modify .travis.yml 2017-07-24 16:32:55 -07:00
.travis_do.sh build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
CONTRIBUTING.md treewide: use name in define and eval lines 2017-03-08 21:15:20 +01:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Fixed broken link in README.md 2015-07-10 13:51:22 -05:00

README.md

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

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

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.