aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesper Juhl <juhl-lkml@dif.dk>2005-01-06 00:39:01 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2005-01-06 00:39:01 -0800
commitb7cda70407c0ac9970cdc78eb5bbb9a427ce4de8 (patch)
tree90e830a1936c22068dc5c81054f924ef4f322ea0 /scripts
parentdd9ce4c0f2f3af77943324d8c5cd0aed95391b85 (diff)
downloadhistory-b7cda70407c0ac9970cdc78eb5bbb9a427ce4de8.tar.gz
[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 <juhl-lkml@dif.dk> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ver_linux2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 8b5c009ca78cc3..bb195a1c0f2d28 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