Skip to content

Commit

Permalink
add MuteSwith ON as alternative for boot
Browse files Browse the repository at this point in the history
  • Loading branch information
k3dar committed Apr 21, 2011
1 parent 974d199 commit c163aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ show_fbz $OS
while true;
do
event=`hexdump -e '1/1 "%.2x"' /dev/input/event1 -n 16`
#Power Button Released
if [ "`echo $event | grep 006b00010`" != "" ]; then
#Power Button Released or MuteSwitch moved to ON
if [ "`echo $event | grep 006b00010`" != "" -o "`echo $event | grep 5000500010`" != "" ]; then
. /boot/bootr/os/$hw/$OS
change_and_reboot
break
Expand Down

0 comments on commit c163aa3

Please sign in to comment.