lkml.org 
[lkml]   [2006]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.6.19-rc5-mm1 - ver_linux additions
From
Date

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

Signed-Off-By: Valdis Kletnieks <valdis.kletnieks@vt.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:02:41.000000000 -0500
@@ -87,10 +87,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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-11-12 18:17    [W:0.062 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site