]> code.delx.au - monosys/commitdiff
reboot-no-passphrase: fix cryptsetup change
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 29 Aug 2021 21:44:26 +0000 (07:44 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 29 Aug 2021 21:44:26 +0000 (07:44 +1000)
etc/systemd/system/disable-crypto_keyfile@.service

index 06b8ceab219dd029d70445b383ba3acc4125f8a6..c82527e8fb23da24289cb28ce70a1de75ff964dc 100644 (file)
@@ -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]