Minor fix for Boxee remote hack

The Vendor and Product must be on the same line, otherwise there
could be side-effects. Also, "cat file | grep" is better as plain
"grep file".
This commit is contained in:
Matthias Saou 2011-12-23 12:15:22 +01:00
parent 03c108f038
commit 038bd8954c

View File

@ -29,7 +29,7 @@ XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
progress "starting XBMC" progress "starting XBMC"
# hack for Boxee Remote # hack for Boxee Remote
if $(cat /proc/bus/input/devices | grep Vendor=0471 | grep -q Product=20d9);then if grep -q "Vendor=0471 Product=20d9" /proc/bus/input/devices; then
export SDL_MOUSE_RELATIVE=0 export SDL_MOUSE_RELATIVE=0
fi fi