diff options
author | Marcin Juszkiewicz <hrw@koansoftware.com> | 2009-01-09 17:39:34 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@koansoftware.com> | 2009-01-16 15:37:49 +0100 |
commit | 5e4817d253b47a758a4b8fba1fcf46a88e390b60 (patch) | |
tree | c8a0c03c8e69c3388934ae3e70e35dbfc14e1437 /packages/busybox/files/find-touchscreen.sh | |
parent | 2dc2f17523a946c8039c58e1ae27b6bc14e2cbc2 (diff) |
busybox: create /dev/input/touchscreen0 with mdev
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 |