#!/bin/sh
# Armbian: copy the boot partition into the root before each snapshot of the
# root. Snapper 0.10.5 and newer send create-snapshot-pre.
[ "$1" = create-snapshot-pre ] && [ "$2" = / ] || exit 0
exec /usr/lib/armbian-snapshots/boot-copy
