Initial support for mdadm RAID arrays

This patch adds initial support for handling MD RAID arrays.  Adding
a pass at the very end of the shutdown sequence to signal any external
RAID controller to clear its state before we proceed to halt/reboot.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-08-14 21:26:18 +02:00
parent f4327910d9
commit 078982d3ec
4 changed files with 79 additions and 4 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
ACLOCAL_AMFLAGS = -I m4
sbin_PROGRAMS = finit initctl reboot
finit_SOURCES = finit.c api.c client.c conf.c exec.c getty.c helpers.c \
mount.c pid.c sig.c svc.c service.c plugin.c tty.c \
cond.c cond-w.c sm.c utmp-api.c utmp-api.h
finit_SOURCES = finit.c api.c client.c cond.c cond-w.c conf.c exec.c \
getty.c helpers.c mdadm.c mount.c pid.c plugin.c \
service.c sig.c svc.c sm.c tty.c utmp-api.c utmp-api.h
pkginclude_HEADERS = cond.h finit.h helpers.h inetd.h plugin.h svc.h
if INETD
finit_SOURCES += inetd.c