Skip to content

Commit

Permalink
Update crypto-sd-plain@.service
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Oct 14, 2018
1 parent 9dd2b9f commit e011860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/system/crypto-sd-plain@.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e011860

Please sign in to comment.