PKGBUILDs/core/cryptsetup/encrypt_install
2009-10-09 21:17:35 -05:00

22 lines
408 B
Bash

# vim: set ft=sh:
install ()
{
if [ -z "${CRYPTO_MODULES}" ]; then
MODULES=" dm-crypt $(all_modules "/crypto/") "
else
MODULES=" dm-crypt ${CRYPTO_MODULES} "
fi
BINARIES=""
add_dir "/dev/mapper"
add_file "/sbin/cryptsetup.static" "/bin/cryptsetup"
FILES=""
SCRIPT="encrypt"
}
help ()
{
cat<<HELPEOF
This hook allows for an encrypted root device.
HELPEOF
}