summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-09-07 04:50:21 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-09-07 04:50:21 +0000
commit0789871b38ffee98131b2cf90673f2f2c737ed34 (patch)
treeeb5ae11cab04d82fb1428eb576a5c0d51f0c55ad /sysutils
parent- On amd64, we do not have machine/bootinfo.h, which is used by this (diff)
Even better random number generator using jot ...
Notes
Notes: svn path=/head/; revision=172443
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bsdstats/Makefile2
-rw-r--r--sysutils/bsdstats/files/300.statistics4
-rw-r--r--sysutils/bsdstats/files/300.statistics.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 9a8ea12d159a..4a234d73c086 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bsdstats
-PORTVERSION= 3.7
+PORTVERSION= 3.8
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics
index eace85ccf280..01fe68e8289e 100644
--- a/sysutils/bsdstats/files/300.statistics
+++ b/sysutils/bsdstats/files/300.statistics
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.20 2006-09-07 04:22:27 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.21 2006-09-07 04:50:21 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -28,7 +28,7 @@ IFS="
"
random () {
- ( ps ax && netstat -a && date ) | sum | cut -c4-5
+ jot -r 1 0 300
}
send_devices () {
diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in
index d0da3353ac2c..b721113b4f2f 100644
--- a/sysutils/bsdstats/files/300.statistics.in
+++ b/sysutils/bsdstats/files/300.statistics.in
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.20 2006-09-07 04:22:27 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.21 2006-09-07 04:50:21 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -28,7 +28,7 @@ IFS="
"
random () {
- ( ps ax && netstat -a && date ) | sum | cut -c4-5
+ jot -r 1 0 300
}
send_devices () {