summaryrefslogtreecommitdiffstats
path: root/debian/cryptsetup.preinst
blob: 7f1e1bc74f106b1e98555444abead0738182af45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = install ] && [ ! -f "/etc/crypttab" ]; then
	cat <<-EOC >/etc/crypttab
	# <target name>	<source device>		<key file>	<options>
	EOC
fi

#DEBHELPER#

exit 0