Allow specifying alternative keys in panic key combo, fix optical disk eject handling

This commit is contained in:
Aaron Rainbolt 2025-07-14 21:05:16 -05:00
parent dfb6f143f0
commit e387086de4
No known key found for this signature in database
GPG key ID: A709160D73C79109
3 changed files with 70 additions and 31 deletions

View file

@ -0,0 +1,14 @@
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.
[Unit]
Description=Emergency shutdown when boot media is removed
Documentation=https://github.com/Kicksecure/security-misc
[Service]
Type=oneshot
ExecStart=/usr/libexec/security-misc/emerg-shutdown
RemainAfterExit=true
[Install]
WantedBy=multi-user.target