#!/bin/sh

if [ "$1" = "prereqs" ] ; then
  exit 0
fi

. /scripts/mdadm-functions
. /scripts/functions

wait_for_udev
degraded_arrays || exit 0
mountroot_fail || panic "Dropping to a shell."
