summaryrefslogtreecommitdiff
path: root/debian/mdadm-raid
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm-raid')
-rw-r--r--debian/mdadm-raid11
1 files changed, 0 insertions, 11 deletions
diff --git a/debian/mdadm-raid b/debian/mdadm-raid
index a50c8241..6d4d6a99 100644
--- a/debian/mdadm-raid
+++ b/debian/mdadm-raid
@@ -31,7 +31,6 @@ DEBIANCONFIG=/etc/default/mdadm
test -x "$MDADM" || exit 0
-AUTOSTART=true
STATEDIR=/run/mdadm
test -f $DEBIANCONFIG && . $DEBIANCONFIG
@@ -87,11 +86,6 @@ case "${1:-}" in
start)
PREFIX="Assembling MD array"
- if ! is_true $AUTOSTART && ! is_true ${MDADM_FORCE_AUTOSTART__:-0}; then
- log_notice "disabled in $DEBIANCONFIG"
- exit 0
- fi
-
if [ ! -f /proc/mdstat ] && [ -x "$(command -v modprobe)" ] ; then
modprobe -q md 2>/dev/null || :
fi
@@ -191,11 +185,6 @@ case "${1:-}" in
stop)
PREFIX="Stopping MD array"
- if ! is_true $AUTOSTART; then
- log_notice "disabled in $DEBIANCONFIG"
- exit 0
- fi
-
if [ ! -f /proc/mdstat ]; then
log_problem "no MD subsystem loaded"
exit 0