#!/bin/sh
# Armbian: the overlay module for snapshot boots (scripts/local-bottom), and
# the setting of the snapshot menu.
PREREQ=""
prereqs() { echo "$PREREQ"; }
case "$1" in
prereqs)
	prereqs
	exit 0
	;;
esac
. /usr/share/initramfs-tools/hook-functions
manual_add_modules overlay
if [ -f /etc/default/armbian-snapshots ]; then
	mkdir -p "${DESTDIR}/conf"
	cp /etc/default/armbian-snapshots "${DESTDIR}/conf/armbian-snapshots.conf"
fi
