diff options
author | Dave Jones <davej@codemonkey.org.uk> | 2003-05-14 06:44:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-14 06:44:45 -0700 |
commit | 73ba856c1695a00a6bfb982870ed90d058d152fb (patch) | |
tree | a7bac5746e9fd8930508eb01a1293da458c4655e /scripts | |
parent | 4a3d191094b945f10041b6447fe1e796b8f3361b (diff) | |
download | history-73ba856c1695a00a6bfb982870ed90d058d152fb.tar.gz |
[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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ver_linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux index e6bd5ce35b9ba..99cb2c9f5ae77 100644 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -28,7 +28,7 @@ fdformat --version | awk -F\- '{print "util-linux ", $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 \ 'NR==1 {print "e2fsprogs ", $2}' |