add 'swapoff' to initramfs to fix shutdown/reboot
PATCH 1/1 add 'swapoff' to initramfs to fix shutdown/reboot
systemd shutdown/reboot won't work unless 'swapoff' is available.
--- modules.d/98systemd/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/98systemd/module-setup.sh +1 -1
@@ -83,7 +83,7 @@ install() { $systemdsystemunitdir/initrd-switch-root.target \ $systemdsystemunitdir/initrd-switch-root.service \ $systemdsystemunitdir/umount.target \ - journalctl systemctl echo + journalctl systemctl echo swapoff if [[ $hostonly ]]; then dracut_install -o /etc/systemd/journald.conf \
Signature · 1 line
1.7.11.7