[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200611121805.kACI5e25031765@turing-police.cc.vt.edu>
Date: Sun, 12 Nov 2006 13:05:39 -0500
From: Valdis.Kletnieks@...edu
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] Take 2 - 2.6.19-rc5-mm1 - ver_linux additions
(resend - failed to cc: lkml first time)
scripts/ver_linux needed some minor clean-ups, as follows:
1) Add reporting of actual oprofile release
2) Add reporting of actual wireless-tools release
3) Add reporting of actual pcmciautils release
Signed-Off-By: Valdis Kletnieks <valdis.kletnieks@...edu>
---
--- linux-2.6.19-rc5-mm1/scripts/ver_linux.dist 2006-09-19 23:42:06.000000000 -0400
+++ linux-2.6.19-rc5-mm1/scripts/ver_linux 2006-11-12 12:29:28.000000000 -0500
@@ -48,6 +48,8 @@
xfs_db -V 2>&1 | grep version | awk \
'NR==1{print "xfsprogs ", $3}'
+pccardctl -V 2>&1| grep pcmciautils | awk '{print "pcmciautils ", $2}'
+
cardmgr -V 2>&1| grep version | awk \
'NR==1{print "pcmcia-cs ", $3}'
@@ -87,10 +89,16 @@
loadkeys -V 2>&1 | awk \
'(NR==1 && ($2 ~ /console-tools/)) {print "Console-tools ", $3}'
+oprofiled --version 2>&1 | awk \
+'(NR==1 && ($2 == "oprofile")) {print "oprofile ", $3}'
+
expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}'
+iwconfig --version 2>&1 | awk \
+'(NR==1 && ($3 == "version")) {print "wireless-tools ",$4}'
+
if [ -e /proc/modules ]; then
X=`cat /proc/modules | sed -e "s/ .*$//"`
echo "Modules Loaded "$X
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists