Mikolaj Kucharski <miko...@kucharski.name> writes: > Hi, > > On Thu, Mar 19, 2020 at 08:08:10AM +0100, Antoine Jacoutot wrote: >> > - How do you handle kernel modifications via config(8) with kernel >> > relinking in a more automated way? >> >> $ cat /etc/rc.shutdown >> printf 'disable ulpt\nq\n' | config -ef /bsd >> sha256 /bsd >/var/db/kernel.SHA256 > > Neat, simple and straightforward. I like it, thanks Antoine.
Or with -h option: -h hashfile Place the checksum into hashfile instead of stdout. sha256 -h /var/db/kernel.SHA256 /bsd -- François Chambaud www.chambaud.org