summaryrefslogtreecommitdiff
path: root/debian/mdadm.config
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-22 20:20:52 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-22 20:20:52 +0000
commitc3a6e42bad58a0f83d43eac7a93f99e88595118a (patch)
treed342599fa6b12c93ba9066a76b6e1b9317a7f933 /debian/mdadm.config
parent30dcdc972f0b8e5f34bb59669e5b479449eeee2f (diff)
* Allow ARRAY lines in configuration file to break across lines
(closes: #384222).
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r--debian/mdadm.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config
index 92485b49..70d69566 100644
--- a/debian/mdadm.config
+++ b/debian/mdadm.config
@@ -111,10 +111,10 @@ while true; do
fi
if [ -f $CONFIG ]; then
- if ! egrep -q "^ARRAY[[:space:]]+$i([[:space:]]+|$)" $CONFIG; then
+ if ! egrep -q "^(ARRAY)?[[:space:]]+$i([[:space:]]+|$)" $CONFIG; then
t="$(readlink -nf "$i")"
if [ -L "$i" ] \
- && egrep -q "^ARRAY[[:space:]]+$t([[:space:]]|$)+" $CONFIG; then
+ && egrep -q "^(ARRAY)?[[:space:]]+$t([[:space:]]|$)+" $CONFIG; then
i="$t"
else
db_subst mdadm/initrdstart_notinconf array "$i"