busybox/find-touchscreen: handle input/device case
authorEric Bénard <eric@eukrea.com>
Fri, 29 Oct 2010 15:44:52 +0000 (17:44 +0200)
committerEric Bénard <eric@eukrea.com>
Sat, 30 Oct 2010 00:30:57 +0000 (02:30 +0200)
commit291693ea81a4b65fbb7f75db10790d72d37b1ec0
treefcdf05b8c5ceaf07787d9218219b74c2f29c72cc
parentcd7c9542bad478df9df733a6639ab3b6ef41ef72
busybox/find-touchscreen: handle input/device case

On a new configuration using 2.6.36 kernel + busybox 1.17.1 ,
find-toucscreen.sh fails because $MDEV is input/event0 and not event0.

This patch fixes this problem by removing input/ if present in $MDEV.

Signed-off-by: Eric Bénard <eric@eukrea.com>
recipes/busybox/files/find-touchscreen.sh