diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2021-09-13 11:49:23 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2021-09-13 11:49:23 +0000 |
commit | 6b5347687ac417958a38c72a3e863239ccd70960 (patch) | |
tree | a0466977ded08ec4c49230bf1b9deef207838876 /usr.sbin/config/config.8 | |
parent | bb856ab86ed178913d17dfeb0518f9333ea8c518 (diff) |
introduce /etc/bsd.re-config which can be used to configure the kernel
using config(8);
the contents of this configuration file will be fed to config(8) after
kernel relinking is done, so on the next boot the new kernel will have
all the configuration changes set by the user
this comes handy if you still want to use KARL while making changes
to the GENERIC kernel
diff from Paul de Weerd with input from several developers
Diffstat (limited to 'usr.sbin/config/config.8')
-rw-r--r-- | usr.sbin/config/config.8 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 8ea736645a9..6e51392a102 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: config.8,v 1.71 2021/03/08 02:47:29 jsg Exp $ +.\" $OpenBSD: config.8,v 1.72 2021/09/13 11:49:22 robert Exp $ .\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)config.8 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 8 2021 $ +.Dd $Mdocdate: September 13 2021 $ .Dt CONFIG 8 .Os .Sh NAME @@ -65,6 +65,11 @@ Similarly, the same editing can be done at boot-time, using the in-kernel editor, as described in .Xr boot_config 8 . +Note that any such edits will be lost during upgrades and prevent a newly +linked kernel from being installed at boot time. +For such cases, this process can also be automated during boot using the +.Xr bsd.re-config 5 +configuration file. .Pp For kernel building, the options are as follows: .Bl -tag -width Ds @@ -436,6 +441,7 @@ was given, else ignore changes). .Sh SEE ALSO .Xr options 4 , .Xr files.conf 5 , +.Xr bsd.re-config 5, .Xr boot.conf 8 , .Xr boot_config 8 .Pp |