security-misc/usr/lib/dracut/modules.d/40sdmem-security-misc/wipe-needshutdown.sh
Patrick Schleizer 8a072437cc
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

4 lines
25 B
Bash
Executable File