ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/lib/partman/choose_method/50crypto/choices

19 lines
274 B
Bash
Executable File

#!/bin/sh
. /lib/partman/lib/base.sh
. /lib/partman/lib/crypto-base.sh
dev=$1
id=$2
cd $dev
# don't show crypto for already encrypted partitions
if [ -f crypt_realdev ]; then
exit 0
fi
db_metaget partman/method_long/crypto description
printf "%s\t%s\n" crypto "$RET"