summaryrefslogtreecommitdiff
path: root/packages/busybox/files/find-touchscreen.sh
blob: 34835e7f1c4f8461647c6392a6ba836744eed959 (plain)
1
2
3
4
5
6
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