android_device_samsung_mond.../rootdir/etc/init.input.sh

13 lines
252 B
Bash
Raw Normal View History

2016-01-10 15:51:48 +01:00
#!/system/bin/sh
for i in /sys/class/input/input*
do
name=`cat $i/name`
if [ "$name" = gpio-keys -o "$name" = sec_touchscreen ]
then
echo "Found $name at $i"
chown system $i/enabled
chmod 644 $i/enabled
fi
done