dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Steven Cole 2005-04-18 21:57:33 -07:00 committed by Greg KH
parent 46ea0d6c26
commit 1694145854
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ loadkeys -V 2>&1 | awk \
expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
udevinfo -V | awk '{print "udev ", $3}'
udevinfo -V 2>&1 | grep version | awk '{print "udev ", $3}'
if [ -e /proc/modules ]; then
X=`cat /proc/modules | sed -e "s/ .*$//"`