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