diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-22 20:20:52 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-22 20:20:52 +0000 |
commit | c3a6e42bad58a0f83d43eac7a93f99e88595118a (patch) | |
tree | d342599fa6b12c93ba9066a76b6e1b9317a7f933 /debian/mdadm.config | |
parent | 30dcdc972f0b8e5f34bb59669e5b479449eeee2f (diff) |
* Allow ARRAY lines in configuration file to break across lines
(closes: #384222).
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r-- | debian/mdadm.config | 4 |
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" |