summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/files/find-touchscreen.sh
blob: 52c5e7a096ddab481a111fdee2639b56a9a14020 (plain)
1
2
3
4
5
6
#!/bin/sh

if grep -q "input:.*-e0.*,3,.*a0,1,\|ads7846" /sys/class/$MDEV/device/modalias ; then
	ln -sf /dev/$MDEV /dev/input/touchscreen0
fi