Ignore per-mdN settings in mdconfig[2] startup

PR:		base/189696
Submitted by:	ganael.laplanche@martymac.org
MFC after:	3 days
X-MFC-to:	stable/10 stable/9
This commit is contained in:
Devin Teske 2015-10-29 21:12:57 +00:00
parent df1475e542
commit 75fe15ab68
2 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,8 @@ if [ -z "${_mdconfig_list}" ]; then
sort_lite -nk1.12`
do
_mdconfig_unit=${_mdconfig_config#mdconfig_md}
[ "${_mdconfig_unit#*[!0-9]}" = "$_mdconfig_unit" ] ||
continue
_mdconfig_list="$_mdconfig_list md$_mdconfig_unit"
done
_mdconfig_list="${_mdconfig_list# }"

View File

@ -216,6 +216,8 @@ if [ -z "${_mdconfig2_list}" ]; then
sort_lite -nk1.12`
do
_mdconfig2_unit=${_mdconfig2_config#mdconfig_md}
[ "${_mdconfig2_unit#*[!0-9]}" = "$_mdconfig2_unit" ] ||
continue
_mdconfig2_list="$_mdconfig2_list md$_mdconfig2_unit"
done
_mdconfig2_list="${_mdconfig2_list# }"