summaryrefslogtreecommitdiff
path: root/debian/mdadm-raid
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-11-09 13:45:14 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-11-09 13:45:14 +0000
commitb19275014861d2612fa717535d65caa2a6928c48 (patch)
treee34318360747d869f7976c117f38cbbb374c1e49 /debian/mdadm-raid
parent77fca5996ae791d500fb4e9a1e8e70f94f62d9af (diff)
all arrays when booting from rescue/live media. It overrides AUTOSTART in
/etc/default/mdadm and starts arrays even if the variable is set to a false value.
Diffstat (limited to 'debian/mdadm-raid')
-rw-r--r--debian/mdadm-raid2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm-raid b/debian/mdadm-raid
index 10e195f7..3aeecb39 100644
--- a/debian/mdadm-raid
+++ b/debian/mdadm-raid
@@ -94,7 +94,7 @@ case "${1:-}" in
start)
PREFIX="Assembling MD array"
- if is_true $AUTOSTART; then
+ if is_true $AUTOSTART || is_true ${MDADM_FORCE_AUTOSTART__:0}; then
if [ ! -f /proc/mdstat ] && [ -x "$(command -v modprobe)" ] ; then
modprobe -kq md 2>/dev/null || :
fi