Files
server/usr/share/initramfs-tools/scripts/local-bottom/cryptroot
2026-01-07 20:52:11 +01:00

23 lines
307 B
Bash
Executable File

#!/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"