Skip to content

Commit

Permalink
[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Cole authored and Greg KH committed Apr 19, 2005
1 parent 46ea0d6 commit 1694145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ver_linux
Original file line number Diff line number Diff line change
Expand Up @@ -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/ .*$//"`
Expand Down

0 comments on commit 1694145

Please sign in to comment.