#!/sbin/sh
export PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
while :; do
  KEY=`busybox hexdump -x -n 32 /dev/input/event4 | busybox head -n 1 | busybox awk '{print $6,$7,$8}'`
  case "$KEY" in
    "0001 0074 0001")
      busybox touch /.pressed_pwr
    ;;
  esac
done
