Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/tmp/busybox sh
- #
- # This program is free software; you can redistribute it and/or modify it
- # under the terms of the GNU Library General Public License as published
- # by the Free Software Foundation; either version 2, or (at your option)
- # any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
- #
- echo '#!/system/bin/sh' > /system/etc/init.d/13-keytimer
- echo '#set keyboard timer delay' >> /system/etc/init.d/13-keytimer
- if [ $1 != "" ]
- then
- echo 'echo ' $1 ' > /sys/devices/platform/s3c-keypad/timer_delay' >> /system/etc/init.d/13-keytimer
- else
- echo 'echo 5 > /sys/devices/platform/s3c-keypad/timer_delay' >> /system/etc/init.d/13-keytimer
- fi
Advertisement
Add Comment
Please, Sign In to add comment