mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
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:
parent
03c108f038
commit
038bd8954c
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user