#!/system/bin/sh
if ! applypatch -c MTD:recovery:4435968:719376328eb8040ce210b757b33ecf359d41f059; then
  log -t recovery "Installing new recovery image"
  applypatch MTD:boot:4435968:719376328eb8040ce210b757b33ecf359d41f059 MTD:recovery 719376328eb8040ce210b757b33ecf359d41f059 4435968 719376328eb8040ce210b757b33ecf359d41f059:/system/recovery-from-boot.p
else
  log -t recovery "Recovery image already installed"
fi
