citadel/meta/recipes-core/busybox/files/find-touchscreen.sh
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

7 lines
144 B
Bash

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