From 03af3c83b739b109607baf2644b7ea2182c97d11 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 Jul 2003 19:46:45 -0700 Subject: [PATCH] fix ver_linux for 2.6 (Steven Cole) --- scripts/ver_linux | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ver_linux b/scripts/ver_linux index 26f3084e7db3..0bc7fa3e4843 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. \ -- cgit v1.2.3