Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16941458 authored by Steven Cole's avatar Steven Cole Committed by Greg KH
Browse files

[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: default avatarSteven Cole <elenstev@mesatop.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 46ea0d6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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/ .*$//"`