post_upgrade() {
  echo ""
  echo "A new Tow-Boot version can be flashed onto your install drive or to SPI."
  echo "Note that doing so will overwrite any existing bootloader and configuration."
  echo ""
  echo "To write it to a drive, use lsblk to determine the correct drive before"
  echo "proceeding. Tow-Boot can be written by running:"
  echo "# dd if=/boot/Tow-Boot.noenv.bin of=/dev/mmcblkX seek=64 conv=notrunc,fsync"
  echo ""
  echo "It can alternatively be flashed to SPI:"
  echo "# flash_erase /dev/mtd0 0 0"
  echo "# nandwrite -p /dev/mtd0 /boot/Tow-Boot.spi.bin"
  echo ""

}
post_install() {
  echo ""
  echo "Tow-Boot can be flashed onto your install drive or to SPI."
  echo "Note that doing so will overwrite any existing bootloader and configuration."
  echo ""
  echo "To write it to a drive, use lsblk to determine the correct drive before"
  echo "proceeding. Tow-Boot can be written by running:"
  echo "# dd if=/boot/Tow-Boot.noenv.bin of=/dev/mmcblkX seek=64 conv=notrunc,fsync"
  echo ""
  echo "It can alternatively be flashed to SPI:"
  echo "# flash_erase /dev/mtd0 0 0"
  echo "# nandwrite -p /dev/mtd0 /boot/Tow-Boot.spi.bin"
  echo ""
  echo "Use 'update-extlinux' to update the bootloader configuration."
}
