mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
8a072437cc
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. |
||
---|---|---|
.. | ||
module-setup.sh | ||
README.md | ||
wipe-needshutdown.sh | ||
wipe.sh |
Make sure sdmem and dmsetup is part of the initramfs
sudo apt update
sudo apt --no-install-recommends install secure-delete dmsetup
sudo dracut --include /usr/bin/sdmem /bin/sdmem --force