From b7cda70407c0ac9970cdc78eb5bbb9a427ce4de8 Mon Sep 17 00:00:00 2001 From: Jesper Juhl Date: Thu, 6 Jan 2005 00:39:01 -0800 Subject: [PATCH] add printing of udev version to scripts/ver_linux Since udev is starting to be used a lot of places and I've seen people get asked about their udev version a few times on lkml I figured it was perhaps time that scripts/ver_linux reported this info so it would get into more bugreports by default. This patch adds printing of udev version to scripts/ver_linux Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman --- scripts/ver_linux | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/ver_linux b/scripts/ver_linux index 8b5c009ca78c..bb195a1c0f2d 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -87,6 +87,8 @@ loadkeys -V 2>&1 | awk \ expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}' +udevinfo -V | awk '{print "udev ", $3}' + if [ -e /proc/modules ]; then X=`cat /proc/modules | sed -e "s/ .*$//"` echo "Modules Loaded "$X -- cgit v1.2.3