Changeset View
Changeset View
Standalone View
Standalone View
stand/defaults/loader.conf.5
Show All 17 Lines | |||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.Dd January 6, 2021 | .Dd July 10, 2021 | ||||
.Dt LOADER.CONF 5 | .Dt LOADER.CONF 5 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm loader.conf | .Nm loader.conf | ||||
.Nd "system bootstrap configuration information" | .Nd "system bootstrap configuration information" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The file | The file | ||||
.Nm | .Nm | ||||
Show All 37 Lines | |||||
treatment are listed below. | treatment are listed below. | ||||
Settings beginning with | Settings beginning with | ||||
.Qq * | .Qq * | ||||
below define the modules to be loaded and | below define the modules to be loaded and | ||||
may have any prefix; the prefix identifies a module. | may have any prefix; the prefix identifies a module. | ||||
All such settings sharing a common | All such settings sharing a common | ||||
prefix refer to the same module. | prefix refer to the same module. | ||||
.Bl -tag -width Ar | .Bl -tag -width Ar | ||||
.It Ar autoboot_delay | |||||
Delay in seconds before automatically booting. | |||||
A user with console access will be able to interrupt the | |||||
.Ic autoboot | |||||
process and escape into the interactive mode by pressing a key on | |||||
bcr: a key or any key (like below)? Probably not ENTER... ;-) | |||||
the console during this delay. | |||||
.Pp | |||||
If set to | |||||
.Dq Li NO , | |||||
no | |||||
.Ic autoboot | |||||
is automatically attempted after processing | |||||
.Pa /boot/loader.rc , | |||||
though explicit | |||||
.Ic autoboot Ns 's | |||||
are processed normally, using a 10 second delay. | |||||
.Pp | |||||
If set to | |||||
.Dq Li 0 , | |||||
no delay is inserted, but any keys pressed while the kernel and modules are | |||||
loaded will enter interactive mode. | |||||
.Pp | |||||
If set to | |||||
.Dq Li -1 , | |||||
no delay will be inserted and | |||||
.Nm | |||||
starts interactive mode only if | |||||
.Ic autoboot | |||||
has failed. | |||||
In combination with the | |||||
.Va beastie_disable | |||||
option, this option prevents users with console access from being able | |||||
to interrupt the | |||||
.Ic autoboot | |||||
process and escape to the loader prompt. | |||||
To use the | |||||
.Va autoboot_delay | |||||
option in this manner, | |||||
.Va beastie_disable | |||||
must be set to | |||||
.Dq Li YES . | |||||
.It Ar exec | .It Ar exec | ||||
Immediately executes a | Immediately executes a | ||||
.Xr loader 8 | .Xr loader 8 | ||||
command. | command. | ||||
This type of setting cannot be processed by programs other | This type of setting cannot be processed by programs other | ||||
than | than | ||||
.Xr loader 8 , | .Xr loader 8 , | ||||
so its use should be avoided. | so its use should be avoided. | ||||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |
a key or any key (like below)? Probably not ENTER... ;-)