summaryrefslogtreecommitdiff
path: root/debian/initramfs/script.local-top
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs/script.local-top')
-rw-r--r--debian/initramfs/script.local-top8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 166f256f..b95ad896 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -17,7 +17,7 @@ maybe_break pre-mdadm
if [ -e /scripts/local-top/md ]; then
log_warning_msg "old md initialisation script found, getting out of its way..."
- exit 1
+ exit 0
fi
MDADM=/sbin/mdadm
@@ -42,11 +42,11 @@ if [ "$MD_DEVS" = none ]; then
fi
if [ ! -f /proc/mdstat ] && ! modprobe -q md_mod; then
- verbose && log_failure_msg "failed to load module md_mod."
+ verbose && log_warning_msg "failed to load module md_mod."
fi
if [ ! -f /proc/mdstat ]; then
- verbose && panic "cannot initialise MD subsystem (/proc/mdstat missing)"
- exit 1
+ verbose && log_warning_msg "cannot initialise MD subsystem (/proc/mdstat missing)"
+ exit 0
fi
# prevent writes/syncs so that resuming works (#415441).