]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove now unnecessary kldstat check before attempting to load modules.
authorcrees <crees@FreeBSD.org>
Sun, 7 Apr 2019 18:31:45 +0000 (18:31 +0000)
committercrees <crees@FreeBSD.org>
Sun, 7 Apr 2019 18:31:45 +0000 (18:31 +0000)
commitfdf4ebb85e321c3635c6fe97c473304b7a39d663
treeee0333ae893dbad1feaeae76e5d300789fed9d29
parent812de85df230f367ecabb8c40fe3adf6df254d1a
Remove now unnecessary kldstat check before attempting to load modules.

Since r233109, kldload has the -n option, which silently ignores options
that are already loaded.

https://lists.freebsd.org/pipermail/freebsd-rc/2018-December/003899.html

Note that this script no longer reports if the module is already loaded,
but it could be argued this wasn't particularly useful information.

PR: docs/234248
Reviewed by: bcr (docs), kib, rgrimes (visual)
Approved by: jilles
Differential Revision: https://reviews.freebsd.org/D18670
libexec/rc/rc.d/abi
libexec/rc/rc.d/bthidd
libexec/rc/rc.d/cfumass
libexec/rc/rc.d/kld
libexec/rc/rc.d/mdconfig
libexec/rc/rc.d/mdconfig2
libexec/rc/rc.d/mountcritremote
libexec/rc/rc.d/syscons
libexec/rc/rc.subr
share/man/man5/rc.conf.5