Changeset 2689

Show
Ignore:
Timestamp:
09/03/08 14:16:35 (3 months ago)
Author:
kris
Message:

Updated our bsdstats script to the latest from ports

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly/300.statistics

    r1550 r2689  
    11#!/bin/sh - 
    22# 
    3 # $FreeBSD: ports/sysutils/bsdstats/files/300.statistics,v 1.40 2007/12/20 04:36:39 scrappy Exp $ 
     3# $FreeBSD: ports/sysutils/bsdstats/files/300.statistics,v 1.41 2008/08/19 10:25:06 bsam Exp $ 
    44# 
    55 
     
    240240    if [ -f $id_token_file ] 
    241241    then 
    242       if [ `cat /var/db/bsdstats | wc -l` -lt 3 ]  
     242      if [ `wc -l < $id_token_file` -lt 3 ]  
    243243      then 
    244244        rm $id_token_file