core updated.

This commit is contained in:
Ertuğrul Erata
2015-05-17 16:28:10 +03:00
parent 14d58aa1d0
commit 8e13c775be
558 changed files with 543408 additions and 27657 deletions
@@ -0,0 +1,10 @@
[[ -f /proc/mdstat ]] || exit 0
[[ -e /etc/mdadm.conf ]] && mdadm_conf="/etc/mdadm.conf"
if [[ -x /sbin/mdadm && -f ${mdadm_conf} ]] ; then
ebegin "Shutting down RAID devices (mdadm)"
output=$(mdadm -Ss 2>&1)
ret=$?
[[ ${ret} -ne 0 ]] && echo "${output}"
eend ${ret}
fi