Logo
Explore Help
Sign In
mirrors/security-misc
1
0
Fork 0
You've already forked security-misc
mirror of https://github.com/Kicksecure/security-misc.git synced 2025-07-15 02:10:36 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
af8b211c238f6fe83db5990dc0984d1c532456ae
security-misc/usr/lib/dracut/modules.d/40sdmem-security-misc/wipe-needshutdown.sh

7 lines
147 B
Bash
Raw Normal View History

ram wipe on shutdown: fix, added `need_shutdown` hook Otherwise dracut does not run on shutdown. Without `need_shutdown` file `/run/initramfs/.need_shutdown` does not get created. And without that file `/usr/lib/dracut/dracut-initramfs-restore`, which itself is started by `/lib/systemd/system/dracut-shutdown.service` does nothing.
2022-06-29 14:13:30 -04:00
#!/bin/sh
copyright
2022-06-29 15:24:27 -04:00
## Copyright (C) 2022 - 2022 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
copyright
2022-06-29 15:19:56 -04:00
## See the file COPYING for copying conditions.
ram wipe on shutdown: fix, added `need_shutdown` hook Otherwise dracut does not run on shutdown. Without `need_shutdown` file `/run/initramfs/.need_shutdown` does not get created. And without that file `/usr/lib/dracut/dracut-initramfs-restore`, which itself is started by `/lib/systemd/system/dracut-shutdown.service` does nothing.
2022-06-29 14:13:30 -04:00
need_shutdown
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.1 Page: 1221ms Template: 324ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API