Skip to content

Commit

Permalink
Merge pull request OpenSEMC#4 from mickybart/lollipop
Browse files Browse the repository at this point in the history
recovery: switch invocation button from power to volume up key
  • Loading branch information
billchen1977 committed Dec 5, 2014
2 parents ee0278d + 598b853 commit 2e99013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recovery/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ if [ -s /recovery$RAMDISK ]; then

# key check
$BUSYBOX mkdir -m 755 /dev/input
$BUSYBOX mknod -m 660 /dev/input/event0 c 13 64
$BUSYBOX cat /dev/input/event0 > $KEYCHECK&
$BUSYBOX mknod -m 660 /dev/input/event1 c 13 65
$BUSYBOX cat /dev/input/event1 > $KEYCHECK&
$BUSYBOX sleep 3
kill $!
if [ -s $KEYCHECK ]; then
Expand Down Expand Up @@ -73,4 +73,4 @@ fi
$BUSYBOX rm -rf /recovery
$BUSYBOX rm -rf /dev

exec /init
exec /init

0 comments on commit 2e99013

Please sign in to comment.