]> code.delx.au - monosys/blob - etc/systemd/system/disable-crypto_keyfile@.service
reboot-no-passphrase use disk id instead of uuid
[monosys] / etc / systemd / system / disable-crypto_keyfile@.service
1 [Unit]
2 Description=Disable /crypto_keyfile.bin on every boot
3 After=basic.target
4
5 [Service]
6 Type=oneshot
7 ExecStart=/bin/cryptsetup luksRemoveKey /dev/disk/by-id/%i /crypto_keyfile.bin --key-slot 7
8 SuccessExitStatus=2
9
10 [Install]
11 WantedBy=basic.target