diff options
Diffstat (limited to 'scripts/ver_linux')
-rwxr-xr-x | scripts/ver_linux | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux index 8f8df93141a..5a16bad7259 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux | |||
@@ -65,9 +65,8 @@ isdnctrl 2>&1 | grep version | awk \ | |||
65 | showmount --version 2>&1 | grep nfs-utils | awk \ | 65 | showmount --version 2>&1 | grep nfs-utils | awk \ |
66 | 'NR==1{print "nfs-utils ", $NF}' | 66 | 'NR==1{print "nfs-utils ", $NF}' |
67 | 67 | ||
68 | ls -l `ldd /bin/sh | awk '/libc/{print $3}'` | sed \ | 68 | echo -n "Linux C Library " |
69 | -e 's/\.so$//' | sed -e 's/>//' | \ | 69 | sed -n -e '/^.*\/libc-\([^/]*\)\.so$/{s//\1/;p;q}' < /proc/self/maps |
70 | awk -F'[.-]' '{print "Linux C Library "$(NF-1)"."$NF}' | ||
71 | 70 | ||
72 | ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk \ | 71 | ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk \ |
73 | 'NR==1{print "Dynamic linker (ldd) ", $NF}' | 72 | 'NR==1{print "Dynamic linker (ldd) ", $NF}' |