[PC-BSD Commits] r2689 - pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly

svn at pcbsd.org svn at pcbsd.org
Wed Sep 3 14:16:36 PDT 2008


Author: kris
Date: 2008-09-03 14:16:35 -0700 (Wed, 03 Sep 2008)
New Revision: 2689

Modified:
   pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly/300.statistics
Log:

Updated our bsdstats script to the latest from ports



Modified: pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly/300.statistics
===================================================================
--- pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly/300.statistics	2008-09-03 19:24:12 UTC (rev 2688)
+++ pcbsd/trunk/system-overlay/usr/local/etc/periodic/monthly/300.statistics	2008-09-03 21:16:35 UTC (rev 2689)
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-# $FreeBSD: ports/sysutils/bsdstats/files/300.statistics,v 1.40 2007/12/20 04:36:39 scrappy Exp $
+# $FreeBSD: ports/sysutils/bsdstats/files/300.statistics,v 1.41 2008/08/19 10:25:06 bsam Exp $
 #
 
 # If there is a global system configuration file, suck it in.
@@ -239,7 +239,7 @@
 get_id_token () {
     if [ -f $id_token_file ]
     then
-      if [ `cat /var/db/bsdstats | wc -l` -lt 3 ] 
+      if [ `wc -l < $id_token_file` -lt 3 ] 
       then
         rm $id_token_file
       fi



More information about the Commits mailing list