Commit 319e799abb89d9215a203e32c2cad51115d302f4

Authored by Valdis Kletnieks
Committed by Linus Torvalds
1 parent c36264dfb2

[PATCH] ver_linux additions

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@vt.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff

... ... @@ -48,6 +48,8 @@
48 48 xfs_db -V 2>&1 | grep version | awk \
49 49 'NR==1{print "xfsprogs ", $3}'
50 50  
  51 +pccardctl -V 2>&1| grep pcmciautils | awk '{print "pcmciautils ", $2}'
  52 +
51 53 cardmgr -V 2>&1| grep version | awk \
52 54 'NR==1{print "pcmcia-cs ", $3}'
53 55  
54 56  
... ... @@ -87,9 +89,15 @@
87 89 loadkeys -V 2>&1 | awk \
88 90 '(NR==1 && ($2 ~ /console-tools/)) {print "Console-tools ", $3}'
89 91  
  92 +oprofiled --version 2>&1 | awk \
  93 +'(NR==1 && ($2 == "oprofile")) {print "oprofile ", $3}'
  94 +
90 95 expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
91 96  
92 97 udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}'
  98 +
  99 +iwconfig --version 2>&1 | awk \
  100 +'(NR==1 && ($3 == "version")) {print "wireless-tools ",$4}'
93 101  
94 102 if [ -e /proc/modules ]; then
95 103 X=`cat /proc/modules | sed -e "s/ .*$//"`