Browse Source

mdmon: renamed mdmon-offroot@.service to mdmon@.service

master
Harald Hoyer 12 years ago
parent
commit
6320d072a1
  1. 2
      dracut.spec
  2. 4
      modules.d/90mdraid/module-setup.sh

2
dracut.spec

@ -96,6 +96,8 @@ Conflicts: initscripts < 8.63-1 @@ -96,6 +96,8 @@ Conflicts: initscripts < 8.63-1
Conflicts: plymouth < 0.8.0-0.2009.29.09.19.1
%endif

Conflicts: mdadm < 3.2.6-14

%description
dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
Unlike existing implementations, dracut does hard-code as little as possible

4
modules.d/90mdraid/module-setup.sh

@ -88,8 +88,8 @@ install() { @@ -88,8 +88,8 @@ install() {
inst_hook shutdown 30 "$moddir/md-shutdown.sh"
inst_script "$moddir/mdraid-cleanup.sh" /sbin/mdraid-cleanup
inst_script "$moddir/mdraid_start.sh" /sbin/mdraid_start
if [ -e /lib/systemd/system/mdmon-offroot@.service ]; then
inst_simple /lib/systemd/system/mdmon-offroot@.service
if [ -e /lib/systemd/system/mdmon@.service ]; then
inst_simple /lib/systemd/system/mdmon@.service
fi
inst_hook pre-shutdown 30 "$moddir/mdmon-pre-shutdown.sh"
}

Loading…
Cancel
Save