mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-06 08:04:40 -04: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.
3 lines
25 B
Bash
Executable file
3 lines
25 B
Bash
Executable file
#!/bin/sh
|
|
|
|
need_shutdown
|