diff options
Diffstat (limited to 'packages/busybox/files/find-touchscreen.sh')
-rw-r--r-- | packages/busybox/files/find-touchscreen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/busybox/files/find-touchscreen.sh b/packages/busybox/files/find-touchscreen.sh new file mode 100644 index 0000000000..34835e7f1c --- /dev/null +++ b/packages/busybox/files/find-touchscreen.sh @@ -0,0 +1,7 @@ +#!/bin/sh + + + +if [ `egrep "input:.*-e0.*,3,.*a0,1,.*18,.*" /sys/class/input/$MDEV/device/modalias|wc -l` -gt 0 ]; then + ln -sf /dev/input/$MDEV /dev/input/touchscreen0 +fi |