aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2003-07-17 19:46:45 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-17 19:46:45 -0700
commit03af3c83b739b109607baf2644b7ea2182c97d11 (patch)
tree8ad59f0b038363949b0c0cbd5280bccae00bf4dd /scripts
parentff065bec544614afb31c6f3c3983f1c80ef873e4 (diff)
downloadhistory-03af3c83b739b109607baf2644b7ea2182c97d11.tar.gz
[PATCH] fix ver_linux for 2.6
(Steven Cole)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ver_linux5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 26f3084e7db3d..0bc7fa3e48435 100644
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -54,11 +54,14 @@ pppd --version 2>&1| grep version | awk \
isdnctrl 2>&1 | grep version | awk \
'NR==1{print "isdn4k-utils ", $NF}'
+showmount --version 2>&1 | grep nfs-utils | awk \
+'NR==1{print "nfs-utils ", $NF}'
+
ls -l `ldd /bin/sh | awk '/libc/{print $3}'` | sed \
-e 's/\.so$//' | awk -F'[.-]' '{print "Linux C Library " \
$(NF-2)"."$(NF-1)"."$NF}'
-ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -1 | awk \
+ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk \
'NR==1{print "Dynamic linker (ldd) ", $NF}'
ls -l /usr/lib/lib{g,stdc}++.so 2>/dev/null | awk -F. \