diff options
Diffstat (limited to 'network/vnstat/README')
-rw-r--r-- | network/vnstat/README | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/network/vnstat/README b/network/vnstat/README index f7fbb85607..a22949bbfb 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 |