android_device_samsung_mond.../rootdir/etc/init.input.sh
2019-10-28 12:00:21 +03:00

13 lines
252 B
Bash
Executable File

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