From 038bd8954c51b9d266bcbced7576be68a9490ae9 Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Fri, 23 Dec 2011 12:15:22 +0100 Subject: [PATCH] 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". --- packages/mediacenter/xbmc/init.d/93_xbmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc/init.d/93_xbmc b/packages/mediacenter/xbmc/init.d/93_xbmc index c50c56068e..6863ca604f 100644 --- a/packages/mediacenter/xbmc/init.d/93_xbmc +++ b/packages/mediacenter/xbmc/init.d/93_xbmc @@ -29,7 +29,7 @@ XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV" progress "starting XBMC" # 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 fi