mdmon: renamed mdmon-offroot@.service to mdmon@.service
parent
7abeb49878
commit
6320d072a1
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue