summaryrefslogtreecommitdiffstats
path: root/debian/initramfs/scripts/local-bottom/cryptroot
blob: 945739f91c82f1a07c107807b6c04558cbf98c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
prereqs)
	prereqs
	exit 0
	;;
esac

# If we reached this stage, we do have a rootfs mounted
# so let's clean-up cryptroot setup mess...
[ -f /lib/cryptsetup/functions ] || return 0
. /lib/cryptsetup/functions

rm -f -- "$CRYPTROOT_COUNT_FILE"