Commit 73ba856c authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] fix module-init-tools ver_linux problem.

Patch from Steven Cole to fix up ver_linux output on a system
with no module-init-tools, just modutils.

As noted in bugzilla #267 and at
http://marc.theaimsgroup.com/?l=linux-kernel&m=104492524815220&w=2
parent 4a3d1910
...@@ -28,7 +28,7 @@ fdformat --version | awk -F\- '{print "util-linux ", $NF}' ...@@ -28,7 +28,7 @@ fdformat --version | awk -F\- '{print "util-linux ", $NF}'
mount --version | awk -F\- '{print "mount ", $NF}' mount --version | awk -F\- '{print "mount ", $NF}'
depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' depmod -V 2>&1 | grep version | awk 'NR==1 {print "module-init-tools ",$NF}'
tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
'NR==1 {print "e2fsprogs ", $2}' 'NR==1 {print "e2fsprogs ", $2}'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment