23 lines
307 B
Bash
Executable File
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"
|