#!/bin/sh _do_md_shutdown() { local ret local final=$1 info "Waiting for mdraid devices to be clean." mdadm -vv --wait-clean --scan| vinfo ret=$? info "Disassembling mdraid devices." mdadm -vv --stop --scan | vinfo ret=$(($ret+$?)) if [ "x$final" != "x" ]; then info "/proc/mdstat:" vinfo < /proc/mdstat fi return $ret } if command -v mdadm >/dev/null; then _do_md_shutdown $1 else : fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
59-persistent-storage-md.rules | File | 842 B | 0644 |
|
65-md-incremental-imsm.rules | File | 1.42 KB | 0644 |
|
md-noddf.sh | File | 88 B | 0755 |
|
md-noimsm.sh | File | 90 B | 0755 |
|
md-shutdown.sh | File | 457 B | 0755 |
|
mdmon-pre-shutdown.sh | File | 229 B | 0755 |
|
mdmon-pre-udev.sh | File | 130 B | 0755 |
|
mdraid-cleanup.sh | File | 493 B | 0755 |
|
mdraid-needshutdown.sh | File | 155 B | 0755 |
|
mdraid-waitclean.sh | File | 691 B | 0755 |
|
mdraid_start.sh | File | 1.79 KB | 0755 |
|
module-setup.sh | File | 4.56 KB | 0755 |
|
parse-md.sh | File | 2.54 KB | 0755 |
|