From 488d55c54603e1e007f189b70ff3b1c575277021 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 24 Oct 2012 13:06:28 -0400 Subject: [PATCH] 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(-) diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh index 666485e7e..9abe29273 100755 --- a/modules.d/98systemd/module-setup.sh +++ b/modules.d/98systemd/module-setup.sh @@ -85,7 +85,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 \ -- 2.47.3