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 |