From: James Bunton Date: Sun, 29 Aug 2021 21:44:26 +0000 (+1000) Subject: reboot-no-passphrase: fix cryptsetup change X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/64ef4338a99fe0f6d8d47aded7cd6307c2910713 reboot-no-passphrase: fix cryptsetup change --- diff --git a/etc/systemd/system/disable-crypto_keyfile@.service b/etc/systemd/system/disable-crypto_keyfile@.service index 06b8cea..c82527e 100644 --- a/etc/systemd/system/disable-crypto_keyfile@.service +++ b/etc/systemd/system/disable-crypto_keyfile@.service @@ -4,7 +4,7 @@ After=basic.target [Service] Type=oneshot -ExecStart=/sbin/cryptsetup luksRemoveKey %I /crypto_keyfile.bin --key-slot 7 +ExecStart=/sbin/cryptsetup luksRemoveKey %I /crypto_keyfile.bin SuccessExitStatus=2 [Install]