summaryrefslogtreecommitdiff
path: root/debian/mdadm.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r--debian/mdadm.config14
1 files changed, 0 insertions, 14 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config
index a7e9b1fb..85745a34 100644
--- a/debian/mdadm.config
+++ b/debian/mdadm.config
@@ -3,13 +3,6 @@
# Copyright © martin f. krafft <madduck@debian.org>
# Distributable under the terms of the GNU GPL version 2.
#
-
-# we need debconf-escape. Without it, defer the configuration.
-if [ ! -x "$(command -v debconf-escape 2>/dev/null)" ]; then
- echo 'I: mdadm: debconf backend too old, defering configuration...' >&2
- exit 0
-fi
-
. /usr/share/debconf/confmodule
# see #369953 for ordering
set -eu
@@ -19,13 +12,6 @@ ALTCONFIG=/etc/mdadm.conf
[ ! -f $CONFIG ] && [ -f $ALTCONFIG ] && CONFIG=$ALTCONFIG
DEBIANCONFIG=/etc/default/mdadm
-DEBIANCONFIG_OLD=/etc/mdadm/debian.conf
-
-if [ ! -e "$DEBIANCONFIG" ]; then
- if [ -e "$DEBIANCONFIG_OLD" ]; then
- DEBIANCONFIG="$DEBIANCONFIG_OLD"
- fi
-fi
db_get mdadm/initrdstart || :
INITRDSTART="$RET"