#!/bin/bash
mkdir -p /cache/recovery
cat <<EOF > /cache/recovery/command
--wipe_data
--locale=en_US
EOF
(
    sleep 1
    reboot recovery
) >/dev/null 2>&1 &
