set kld_disbale=y or any value in the boot loader and that will
disable loading of the kld_list.
Details
Details
- Reviewers
kevans - Commits
- rGd00aff627828: provide easy way to disable kld_list loading
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 36912 Build 33801: arc lint + arc unit
Event Timeline
Comment Actions
I wonder if this could be added/hooked up to the 'safe mode' option in the loader menu, to provide a nice user-interface for it.
libexec/rc/rc.d/kld | ||
---|---|---|
44 | Doesn't this need to be: [ -z "$(kenv -q kld_disable 2>/dev/null)" ] || return to actually run the command? |
libexec/rc/rc.d/kld | ||
---|---|---|
44 | Yup. You're right. |