2016-11-19 02:13:04 +01:00
|
|
|
#!/bin/sh
|
2020-08-22 01:19:58 +02:00
|
|
|
#
|
|
|
|
# SPDX-FileCopyrightText: 2016 David McKinney <mckinney@subgraph.com>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2016-11-19 02:13:04 +01:00
|
|
|
|
|
|
|
PREREQ=""
|
|
|
|
|
|
|
|
prereqs()
|
|
|
|
{
|
|
|
|
echo "$PREREQ"
|
|
|
|
}
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
# get pre-requisites
|
|
|
|
prereqs)
|
|
|
|
prereqs
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
if [ -f /etc/crypttab ]
|
|
|
|
then
|
|
|
|
cp /etc/crypttab ${DESTDIR}/etc/
|
|
|
|
fi
|