summaryrefslogtreecommitdiff
path: root/debian/mdadm.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r--debian/mdadm.postinst11
1 files changed, 3 insertions, 8 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst
index a603376d..fbe1f362 100644
--- a/debian/mdadm.postinst
+++ b/debian/mdadm.postinst
@@ -51,8 +51,6 @@ case "${1:-}" in
fi
unset MDADM_MAILADDR__
- db_get mdadm/initrdstart
- INITRDSTART="${RET:-all}"
db_get mdadm/autocheck
AUTOCHECK="${RET:-true}"
db_get mdadm/start_daemon
@@ -69,12 +67,6 @@ case "${1:-}" in
# rewritten.
#
-# INITRDSTART:
-# list of arrays (or 'all') to start automatically when the initial ramdisk
-# loads. This list *must* include the array holding your root filesystem. Use
-# 'none' to prevent any array from being started from the initial ramdisk.
-INITRDSTART='$INITRDSTART'
-
# AUTOCHECK:
# should mdadm run periodic redundancy checks over your arrays? See
# /etc/cron.d/mdadm.
@@ -96,6 +88,9 @@ _eof
db_stop
+ # Remove old init script
+ update-rc.d mdadm-raid remove
+
command -v update-initramfs >/dev/null 2>&1 && update-initramfs -u
if dpkg --compare-versions "$2" le 3.3.2-3; then