mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-13 09:19:32 +07:00

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.
4 lines
25 B
Bash
Executable File
4 lines
25 B
Bash
Executable File
#!/bin/sh
|
|
|
|
need_shutdown
|