View | Details | Raw Unified | Return to bug 28255
Collapse All | Expand All

(-)a/features/luks/guess/device (-10 / +3 lines)
Lines 2-14 Link Here
2
2
3
. guess-functions
3
. guess-functions
4
4
5
[ -d "$SYSFS_PATH$1"/dm ] ||
5
guess_feature luks
6
	exit 0
6
# We need keyboard to enter password
7
7
guess-kbd
8
uuid="$(cat "$SYSFS_PATH$1"/dm/uuid)"
9
10
if [ -z "${uuid##CRYPT-*}" ]; then
11
	guess_feature luks
12
	# We need keyboard to enter password
13
	guess-kbd
14
fi

Return to bug 28255