summarylogtreecommitdiffstats
path: root/encrypt-hook.patch
blob: bda74421706c744be4185a9900ac35187724ef79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/encrypt-hook	2020-07-30 03:43:40.432646025 -0700
+++ b/encrypt-hook	2020-07-30 04:00:25.102118165 -0700
@@ -80,6 +80,7 @@ EOF
             fi
             # Ask for a passphrase
             if [ ${dopassphrase} -gt 0 ]; then
+                test -e /sys/devices/platform/bootsplash.0/enabled && echo off > /sys/devices/platform/bootsplash.0/enabled
                 echo ""
                 echo "A password is required to access the ${cryptname} volume:"
 
@@ -87,6 +88,7 @@ EOF
                 while ! eval cryptsetup open --type luks ${resolved} ${cryptname} ${cryptargs} ${CSQUIET}; do
                     sleep 2;
                 done
+                test -e /sys/devices/platform/bootsplash.0/enabled && echo on > /sys/devices/platform/bootsplash.0/enabled
             fi
             if [ -e "/dev/mapper/${cryptname}" ]; then
                 if [ ${DEPRECATED_CRYPT} -eq 1 ]; then