aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Cole <elenstev@mesatop.com>2005-04-19 00:57:33 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 00:57:33 -0400
commit1694145854a309bebd12a5cce63c9b398304e3bb (patch)
tree02dc62f231bc65bfa2bc665b34ccc45e48270397
parent46ea0d6c26de431a39c744f7ad63b30bfc800c1e (diff)
[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.
Without the attached patch, the ver_linux script gives the following if udev utils are not present. ./scripts/ver_linux: line 90: udevinfo: command not found The patch causes ver_linux to be silent in the case of no udevinfo command. Signed-off-by: Steven Cole <elenstev@mesatop.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rwxr-xr-xscripts/ver_linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux
index bb195a1c0f2d..a28c279c49dd 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -87,7 +87,7 @@ loadkeys -V 2>&1 | awk \
87 87
88expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}' 88expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
89 89
90udevinfo -V | awk '{print "udev ", $3}' 90udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}'
91 91
92if [ -e /proc/modules ]; then 92if [ -e /proc/modules ]; then
93 X=`cat /proc/modules | sed -e "s/ .*$//"` 93 X=`cat /proc/modules | sed -e "s/ .*$//"`