Date: Thu, 29 Oct 2015 21:12:58 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290163 - head/etc/rc.d Message-ID: <201510292112.t9TLCwvf042371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Thu Oct 29 21:12:57 2015 New Revision: 290163 URL: https://svnweb.freebsd.org/changeset/base/290163 Log: 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 Modified: head/etc/rc.d/mdconfig head/etc/rc.d/mdconfig2 Modified: head/etc/rc.d/mdconfig ============================================================================== --- head/etc/rc.d/mdconfig Thu Oct 29 21:00:11 2015 (r290162) +++ head/etc/rc.d/mdconfig Thu Oct 29 21:12:57 2015 (r290163) @@ -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# }" Modified: head/etc/rc.d/mdconfig2 ============================================================================== --- head/etc/rc.d/mdconfig2 Thu Oct 29 21:00:11 2015 (r290162) +++ head/etc/rc.d/mdconfig2 Thu Oct 29 21:12:57 2015 (r290163) @@ -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# }"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510292112.t9TLCwvf042371>