1 |
commit: 8aa79ee17291ca2bef5c9117b14d4553afe00fde |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 5 01:11:26 2019 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 1 05:58:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8aa79ee1 |
7 |
|
8 |
Fix inconsistent case for ROOT/SWAP.encrypted flag filenames |
9 |
|
10 |
openLUKS() creates files using upper case names, not lower case. |
11 |
|
12 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
13 |
|
14 |
defaults/initrd.scripts | 8 ++++---- |
15 |
1 file changed, 4 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts |
18 |
index f8f9825..a88ed60 100644 |
19 |
--- a/defaults/initrd.scripts |
20 |
+++ b/defaults/initrd.scripts |
21 |
@@ -1472,12 +1472,12 @@ startLUKS() { |
22 |
/sbin/ifconfig $(echo "${IP}" | awk -F":" '{print $6}' ) 0.0.0.0 |
23 |
fi |
24 |
|
25 |
- if [ -e /root.decrypted ]; then |
26 |
- rm /root.decrypted |
27 |
+ if [ -e /ROOT.decrypted ]; then |
28 |
+ rm /ROOT.decrypted |
29 |
fi |
30 |
|
31 |
- if [ -e /swap.decrypted ]; then |
32 |
- rm /swap.decrypted |
33 |
+ if [ -e /SWAP.decrypted ]; then |
34 |
+ rm /SWAP.decrypted |
35 |
fi |
36 |
} |