mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-11 04:54:24 -05: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.
4 lines
25 B
Bash
Executable File
4 lines
25 B
Bash
Executable File
#!/bin/sh
|
|
|
|
need_shutdown
|