projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6165f
)
add 'swapoff' to initramfs to fix shutdown/reboot
author
Will Woods
<wwoods@redhat.com>
Wed, 24 Oct 2012 17:06:28 +0000
(13:06 -0400)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 14 Dec 2012 08:04:55 +0000
(09:04 +0100)
systemd shutdown/reboot won't work unless 'swapoff' is available.
modules.d/98systemd/module-setup.sh
patch
|
blob
|
history
diff --git
a/modules.d/98systemd/module-setup.sh
b/modules.d/98systemd/module-setup.sh
index
666485e
..
9abe292
100755
(executable)
--- 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 \