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