citadel/poky/meta/recipes-core/busybox/files/find-touchscreen.sh

7 lines
144 B
Bash
Raw Normal View History

#!/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