]> code.delx.au - monosys/blobdiff - etc/systemd/system/disable-crypto_keyfile@.service
reboot-no-passphrase: use --new-key-slot parameter
[monosys] / etc / systemd / system / disable-crypto_keyfile@.service
index e5f58add77b8a7ddd32f44f75c09ad8d3d744891..c82527e8fb23da24289cb28ce70a1de75ff964dc 100644 (file)
@@ -4,7 +4,7 @@ After=basic.target
 
 [Service]
 Type=oneshot
-ExecStart=/bin/cryptsetup luksRemoveKey /dev/disk/by-id/%i /crypto_keyfile.bin --key-slot 7
+ExecStart=/sbin/cryptsetup luksRemoveKey %I /crypto_keyfile.bin
 SuccessExitStatus=2
 
 [Install]