|
Lines 46-51
Link Here
|
| 46 |
einfo "dm-crypt mapping ${target} is already configured" |
46 |
einfo "dm-crypt mapping ${target} is already configured" |
| 47 |
return |
47 |
return |
| 48 |
fi |
48 |
fi |
|
|
49 |
splash svc_input_begin ${SVCNAME} >/dev/null 2>&1 |
| 49 |
# Handle keys |
50 |
# Handle keys |
| 50 |
if [ -n "$key" ]; then |
51 |
if [ -n "$key" ]; then |
| 51 |
# Notes: sed not used to avoid case where /usr partition is encrypted. |
52 |
# Notes: sed not used to avoid case where /usr partition is encrypted. |
|
Lines 108-114
Link Here
|
| 108 |
else |
109 |
else |
| 109 |
mode=none |
110 |
mode=none |
| 110 |
fi |
111 |
fi |
| 111 |
splash svc_input_begin ${SVCNAME} >/dev/null 2>&1 |
|
|
| 112 |
ebegin "dm-crypt map ${target}" |
112 |
ebegin "dm-crypt map ${target}" |
| 113 |
einfo "cryptsetup will be called with : ${options} ${arg1} ${arg2} ${arg3}" |
113 |
einfo "cryptsetup will be called with : ${options} ${arg1} ${arg2} ${arg3}" |
| 114 |
if [ "$mode" == "gpg" ]; then |
114 |
if [ "$mode" == "gpg" ]; then |