aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ver_linux
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ver_linux')
-rwxr-xr-xscripts/ver_linux11
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
35echo -n "util-linux " 35mount --version 2>&1 |
36fdformat --version | awk '{print $NF}' | sed -e s/^util-linux-// -e s/\)$// 36awk '/[0-9]+([.]?[0-9]+)+/ && !/not found$/{
37 37 match($0, /[0-9]+([.]?[0-9]+)+/)
38echo -n "mount " 38 $0 = substr($0,RSTART,RLENGTH)
39mount --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
41depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}' 42depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}'
42 43