Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
03af3c83
Commit
03af3c83
authored
Jul 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix ver_linux for 2.6
(Steven Cole)
parent
ff065bec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
scripts/ver_linux
scripts/ver_linux
+4
-1
No files found.
scripts/ver_linux
View file @
03af3c83
...
@@ -54,11 +54,14 @@ pppd --version 2>&1| grep version | awk \
...
@@ -54,11 +54,14 @@ pppd --version 2>&1| grep version | awk \
isdnctrl 2>&1 |
grep
version |
awk
\
isdnctrl 2>&1 |
grep
version |
awk
\
'NR==1{print "isdn4k-utils ", $NF}'
'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
\
ls
-l
`
ldd /bin/sh |
awk
'/libc/{print $3}'
`
|
sed
\
-e
's/\.so$//'
|
awk
-F
'[.-]'
'{print "Linux C Library " \
-e
's/\.so$//'
|
awk
-F
'[.-]'
'{print "Linux C Library " \
$(NF-2)"."$(NF-1)"."$NF}'
$(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}'
'NR==1{print "Dynamic linker (ldd) ", $NF}'
ls
-l
/usr/lib/lib
{
g,stdc
}
++.so 2>/dev/null |
awk
-F
.
\
ls
-l
/usr/lib/lib
{
g,stdc
}
++.so 2>/dev/null |
awk
-F
.
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment