diff options
author | scrappy <scrappy@FreeBSD.org> | 2006-12-05 21:49:45 +0800 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 2006-12-05 21:49:45 +0800 |
commit | 54a8f14eaf9b8152a51948f95482bd871124b577 (patch) | |
tree | b3c4ac81c0ba98536694a4691134d4557b57c992 /sysutils/bsdstats | |
parent | d2ae5cbf34e141c395c81da59f5d7f2d344ba265 (diff) | |
download | freebsd-ports-gnome-54a8f14eaf9b8152a51948f95482bd871124b577.tar.gz freebsd-ports-gnome-54a8f14eaf9b8152a51948f95482bd871124b577.tar.zst freebsd-ports-gnome-54a8f14eaf9b8152a51948f95482bd871124b577.zip |
start reporting 'none' devices ... it just pads the results, but there
is no harm in doing so ...
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r-- | sysutils/bsdstats/Makefile | 2 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics | 4 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics.in | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 4143666b7047..5a60b4b666ad 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bsdstats -PORTVERSION= 5.2 +PORTVERSION= 5.3 CATEGORIES= sysutils DISTFILES= diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics index b51a1907e1d2..c6869568b071 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.37 2006-12-05 13:28:15 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.38 2006-12-05 13:49:45 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -80,7 +80,7 @@ check_dns () { send_devices () { case $(uname) in FreeBSD ) - for line in `/usr/sbin/pciconf -l | /usr/bin/grep -v none` + for line in `/usr/sbin/pciconf -l` do DRIVER=`echo $line | awk -F\@ '{print $1}'` DEV=`echo $line | awk '{print $4}' | cut -c8-15` diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in index 641e22a27df0..d218f986e30b 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.37 2006-12-05 13:28:15 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.38 2006-12-05 13:49:45 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -80,7 +80,7 @@ check_dns () { send_devices () { case $(uname) in FreeBSD ) - for line in `/usr/sbin/pciconf -l | /usr/bin/grep -v none` + for line in `/usr/sbin/pciconf -l` do DRIVER=`echo $line | awk -F\@ '{print $1}'` DEV=`echo $line | awk '{print $4}' | cut -c8-15` |