summaryrefslogtreecommitdiff
path: root/modules.d/90multipath
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-02-10 11:14:42 +0100
committerHarald Hoyer <harald@redhat.com>2012-02-13 07:08:08 +0100
commitfb67e4aa36948b3ed1208bf963da5569d1b13409 (patch)
tree2f848d3801846e5183cb003427fade92c58e7921 /modules.d/90multipath
parent4cfd24d1799fafacf6624c9638454de93dd6f331 (diff)
downloaddracut-fb67e4aa36948b3ed1208bf963da5569d1b13409.tar.gz
dracut-fb67e4aa36948b3ed1208bf963da5569d1b13409.tar.bz2
dracut-fb67e4aa36948b3ed1208bf963da5569d1b13409.zip
shutdown on demand
Do not save and restore the initramfs, but instead, just unpack the default initramfs for shutdown on shutdown.
Diffstat (limited to 'modules.d/90multipath')
-rwxr-xr-xmodules.d/90multipath/multipathd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules.d/90multipath/multipathd.sh b/modules.d/90multipath/multipathd.sh
index 4d8935f6..6d6eb990 100755
--- a/modules.d/90multipath/multipathd.sh
+++ b/modules.d/90multipath/multipathd.sh
@@ -5,6 +5,7 @@
if [ -e /etc/multipath.conf ]; then
modprobe dm-multipath
multipathd -B || multipathd
+ need_shutdown
else
rm /etc/udev/rules.d/??-multipath.rules 2>/dev/null
fi