File: choices

package info (click to toggle)
partman-crypto 103
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,740 kB
  • sloc: sh: 1,690; ansic: 132; makefile: 20
file content (18 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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"