mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-06 11:24:19 -04:00
Add emergency shutdown feature, triggered by root device removal
This commit is contained in:
parent
341dce33fb
commit
f3d46ee562
5 changed files with 337 additions and 0 deletions
|
@ -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/force-poweroff-on-boot-media-removal
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue