Browse Source

mdraid/md-shutdown.sh: check for presence of mdadm

master
Harald Hoyer 13 years ago
parent
commit
b4692ce388
  1. 4
      modules.d/90mdraid/md-shutdown.sh

4
modules.d/90mdraid/md-shutdown.sh

@ -18,4 +18,8 @@ _do_md_shutdown() {
return $ret return $ret
} }


if command -v mdadm >/dev/null; then
_do_md_shutdown $1 _do_md_shutdown $1
else
:
fi

Loading…
Cancel
Save