diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2003-02-09 02:58:40 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-09 02:58:40 -0800 |
| commit | eafdedb2e3edb01e2267dc7b66d8e3e2e6aacaf9 (patch) | |
| tree | 6699ff0c12b06b5cfb75d04a0a7360930c2576f9 /scripts/ver_linux | |
| parent | 2799fed8f95c7f21d2f707a6310758c2aa69ae95 (diff) | |
[PATCH] scripts_ver_linux
From: Frank Davis <fdavis@si.rr.com>
The ver_linux script is still using rmmod to determine
module-init-tools version. The following patch uses depmod,
which produces the appropriate result.
Diffstat (limited to 'scripts/ver_linux')
| -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 9fe09a9c7f94..e6bd5ce35b9b 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}' -rmmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' +depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ 'NR==1 {print "e2fsprogs ", $2}' |
