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