hwpmc(4): instead of manual edition, use sysrc(8)
Exemplifying safe use of sysrc(8) has become commonplace in documentation such as the FreeBSD Handbook. Encourage its use. Consistency: 'the driver' (not 'this driver'). Co-authored-by: Mina Galić <me+github@igalic.co> Reviewed-by: imp, Mina Galić <me+github@igalic.co> Approved by: imp MFC after: 3 days Pull-request: https://github.com/freebsd/freebsd-src/pull/785
This commit is contained in:
parent
b370ef156a
commit
666c54d12e
@ -30,7 +30,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 16, 2023
|
||||
.Dd July 8, 2023
|
||||
.Dt HWPMC 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -47,14 +47,12 @@ Additionally, for i386 systems:
|
||||
.Cd "device apic"
|
||||
.Ed
|
||||
.Pp
|
||||
To load the driver as a module at boot time, place the
|
||||
following line in
|
||||
.Xr rc.conf 5 :
|
||||
To load the driver as a module at boot time:
|
||||
.Bd -literal -offset indent
|
||||
kld_list="${kld_list} hwpmc"
|
||||
sysrc kld_list+=hwpmc
|
||||
.Ed
|
||||
.Pp
|
||||
Alternatively, to compile this driver into the kernel:
|
||||
Alternatively, to compile the driver into the kernel:
|
||||
.Bd -ragged -offset indent
|
||||
.Cd "device hwpmc"
|
||||
.Ed
|
||||
|
Loading…
Reference in New Issue
Block a user