diff options
author | Valdis Kletnieks <valdis.kletnieks@vt.edu> | 2006-12-06 23:37:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:38 -0500 |
commit | 319e799abb89d9215a203e32c2cad51115d302f4 (patch) | |
tree | b51377d8e64975351e8a29bffcf966bfc43fd314 /scripts | |
parent | c36264dfb2d6fa6383082de0a1bba8e12b477da1 (diff) |
[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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ver_linux | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux index 84999f69773d..72876dfadc8a 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux | |||
@@ -48,6 +48,8 @@ fsck.reiser4 -V 2>&1 | grep ^fsck.reiser4 | awk \ | |||
48 | xfs_db -V 2>&1 | grep version | awk \ | 48 | xfs_db -V 2>&1 | grep version | awk \ |
49 | 'NR==1{print "xfsprogs ", $3}' | 49 | 'NR==1{print "xfsprogs ", $3}' |
50 | 50 | ||
51 | pccardctl -V 2>&1| grep pcmciautils | awk '{print "pcmciautils ", $2}' | ||
52 | |||
51 | cardmgr -V 2>&1| grep version | awk \ | 53 | cardmgr -V 2>&1| grep version | awk \ |
52 | 'NR==1{print "pcmcia-cs ", $3}' | 54 | 'NR==1{print "pcmcia-cs ", $3}' |
53 | 55 | ||
@@ -87,10 +89,16 @@ loadkeys -h 2>&1 | awk \ | |||
87 | loadkeys -V 2>&1 | awk \ | 89 | loadkeys -V 2>&1 | awk \ |
88 | '(NR==1 && ($2 ~ /console-tools/)) {print "Console-tools ", $3}' | 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 | expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}' | 95 | expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}' |
91 | 96 | ||
92 | udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}' | 97 | udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}' |
93 | 98 | ||
99 | iwconfig --version 2>&1 | awk \ | ||
100 | '(NR==1 && ($3 == "version")) {print "wireless-tools ",$4}' | ||
101 | |||
94 | if [ -e /proc/modules ]; then | 102 | if [ -e /proc/modules ]; then |
95 | X=`cat /proc/modules | sed -e "s/ .*$//"` | 103 | X=`cat /proc/modules | sed -e "s/ .*$//"` |
96 | echo "Modules Loaded "$X | 104 | echo "Modules Loaded "$X |