#!/bin/sh
# Runs after u-boot-licheerv is upgraded (or downgraded). apk passes $1=new
# version, $2=old version, but we don't rely on them: the helper compares the
# on-disk bytes to the packaged blob and only writes on a real change, and only
# if autoflash is enabled via /etc/u-boot-licheerv/autoflash.conf.
/usr/sbin/u-boot-licheerv-flash --from-trigger || true
exit 0
