mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/vnstat: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
f04868ad40
commit
ebdea75075
1 changed files with 5 additions and 4 deletions
|
@ -8,16 +8,17 @@ so vnStat can be used without root permissions.
|
|||
This program is open source (GPL) and can be installed in 'single' and
|
||||
'root' mode.
|
||||
|
||||
Note that you can run vnstat either from cron or as a daemon from /etc/rc.d.
|
||||
Note that you can run vnstat either from cron or as a daemon from
|
||||
/etc/rc.d.
|
||||
|
||||
To run vnstat from cron, add the following line to your crontab:
|
||||
0-55/5 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi
|
||||
|
||||
To run vnstat from /etc/rc.d:
|
||||
chmod +x /etc/rc.d/rc.vnstat
|
||||
|
||||
Note that to have vnstat start automatically this way it should be called from
|
||||
rc.local (and optionally rc.local_shutdown) like so:
|
||||
|
||||
Note that to have vnstat start automatically this way it should be
|
||||
called from rc.local (and optionally rc.local_shutdown) like so:
|
||||
|
||||
In rc.local:
|
||||
# Start vnstat
|
||||
|
|
Loading…
Reference in a new issue