From: Will Woods Date: Wed, 24 Oct 2012 17:06:28 +0000 (-0400) Subject: add 'swapoff' to initramfs to fix shutdown/reboot X-Git-Tag: 025~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=488d55c54603e1e007f189b70ff3b1c575277021;p=thirdparty%2Fdracut.git add 'swapoff' to initramfs to fix shutdown/reboot systemd shutdown/reboot won't work unless 'swapoff' is available. --- 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 \