No more needs to install gd and it's dependencies with vnstat.
If you want to generate output images, please install vnstati.
With a lot of help and ok ajacoutot@
- rework Makefile patch and don't patch /var/lib to /var/db as the
bsdinstall target already takes care of that
ok aja@ (on an earlier diff), pea@ (MAINTAINER)
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.
Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
vnStat is a console-based network traffic monitor for Linux and BSD that
keeps a log of network traffic for the selected interface(s). It uses the
network interface statistics provided by the kernel as information source.
This means that vnStat won't actually be sniffing any traffic and also
ensures light use of system resources.
With tweaks and advices from jasper@. Thanks
ok jasper@