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