From e011860ee684f1b9a724867d2c9c5fb28ef09af8 Mon Sep 17 00:00:00 2001 From: Olf Date: Sun, 14 Oct 2018 05:55:01 +0200 Subject: [PATCH] Update crypto-sd-plain@.service --- systemd/system/crypto-sd-plain@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/system/crypto-sd-plain@.service b/systemd/system/crypto-sd-plain@.service index 66f74c69..77cb05d6 100644 --- a/systemd/system/crypto-sd-plain@.service +++ b/systemd/system/crypto-sd-plain@.service @@ -10,7 +10,7 @@ AssertFileNotEmpty=/etc/%i.key Type=oneshot RemainAfterExit=yes # Only needed on Jolla 1 phones running SailfishOS 2.2.0 for using XTS: -# ExecStartPre=/sbin/modprobe qcrypto +ExecStartPre=/sbin/modprobe qcrypto ExecStart=/bin/sh -c 'cat /etc/%i.key | /usr/sbin/cryptsetup -h sha1 -s 256 -c aes-xts-plain --allow-discards --type plain open /dev/%i %i' # ExecStartPost=chgrp disk /dev/mapper/%i # Moved to udev rules 82-crypto-sd ExecStop=/usr/sbin/cryptsetup close %i