diff options
Diffstat (limited to 'scripts/ver_linux')
-rwxr-xr-x | scripts/ver_linux | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux index 1fea7494a1b1..28e76400d133 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux | |||
@@ -32,11 +32,12 @@ awk '/[0-9]+([.]?[0-9]+)+/ && !/not found$/{ | |||
32 | substr($0,RSTART,RLENGTH)) | 32 | substr($0,RSTART,RLENGTH)) |
33 | }' | 33 | }' |
34 | 34 | ||
35 | echo -n "util-linux " | 35 | mount --version 2>&1 | |
36 | fdformat --version | awk '{print $NF}' | sed -e s/^util-linux-// -e s/\)$// | 36 | awk '/[0-9]+([.]?[0-9]+)+/ && !/not found$/{ |
37 | 37 | match($0, /[0-9]+([.]?[0-9]+)+/) | |
38 | echo -n "mount " | 38 | $0 = substr($0,RSTART,RLENGTH) |
39 | mount --version | awk '{print $NF}' | sed -e s/^mount-// -e s/\)$// | 39 | printf("Util-linux\t\t%s\nMount\t\t\t%s\n",$0,$0) |
40 | }' | ||
40 | 41 | ||
41 | depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' | 42 | depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' |
42 | 43 | ||