Browse Source

add 'swapoff' to initramfs to fix shutdown/reboot

systemd shutdown/reboot won't work unless 'swapoff' is available.
master
Will Woods 13 years ago committed by Harald Hoyer
parent
commit
488d55c546
  1. 2
      modules.d/98systemd/module-setup.sh

2
modules.d/98systemd/module-setup.sh

@ -85,7 +85,7 @@ install() { @@ -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 \

Loading…
Cancel
Save