On Sat, 11 May 2019 13:26:14 -0600 "Theo de Raadt" <[email protected]> wrote:
> Ted Unangst <[email protected]> wrote: > > > Benjamin Baier wrote: > > > On Sat, 11 May 2019 11:18:02 -0400 > > > "Ted Unangst" <[email protected]> wrote: > > > > > > > This adds a new option to config, -c cmdfile, that allows reading > > > > commands > > > > from a file instead of stdin. This makes it easier to script. > > > > > > Interesting. Can the cmdfile be /bsd ? > > > So something like config -u but without the need of /dev/mem ? > > > > No, the intended use case is not to copy options between kernels, but to > > apply > > a consistent set of changes after linking. > > @ boot-time, /etc/rc kernel relink script > KARL links a new kernel > apply config -e changes > install > hash it I do realize that it's a polished version of what I wrote yesterday. https://marc.info/?l=openbsd-misc&m=155751021025538&w=2 It just made me think that it may be possible without yet another config file. Just thinking out loud, do carry on...
