diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch index 0999159bb3324b..7a8726de5677a8 100755 --- a/libexec/rc/rc.d/devmatch +++ b/libexec/rc/rc.d/devmatch @@ -41,7 +41,10 @@ one_nomatch="$2" devmatch_start() { - local x m list + local x m list boot_safe + + boot_safe=$(kenv -q boot_safe || echo "NO") + checkyesno boot_safe && return if [ -n "$one_nomatch" ]; then list=$(devmatch -p "${one_nomatch}" | sort -u)