aboutsummaryrefslogtreecommitdiff
path: root/network/vnstat/README
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:05 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:05 +0200
commit521e6c6ce4dfd2eea8da0394053c42688d668d5c (patch)
tree53150ec430e9855802725925ffadc39f557746fa /network/vnstat/README
parente846e1bf5fcca3f169b0e5605dfce98823d3a7b0 (diff)
network/vnstat: Updated for version 1.6
Diffstat (limited to 'network/vnstat/README')
-rw-r--r--network/vnstat/README3
1 files changed, 1 insertions, 2 deletions
diff --git a/network/vnstat/README b/network/vnstat/README
index f7fbb85607f8..a22949bbfb05 100644
--- a/network/vnstat/README
+++ b/network/vnstat/README
@@ -7,5 +7,4 @@ This program is open source (GPL) and can be installed in 'single' and
'root' mode.
Add the following line to your crontab:
-0-55/5 * * * * root if [ -x /usr/bin/vnstat ] && \
-[ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi
+0-55/5 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi