[Bug 263782] Use sysrc instead of manually editing rc.conf throughout the FreeBSD Handbook for simplicity and consistency

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 May 2025 20:18:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263782

Rafael Grether <devnull@apt322.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |devnull@apt322.org

--- Comment #18 from Rafael Grether <devnull@apt322.org> ---
Well,
IMO, I think transparency for the user is quite fundamental.
We know that sysrc directly adds the line to rc.conf , but not all the users
know this, and not all users will read the sysrc(8) in the manpage.

So, it might be interesting to rewrite, eg.:

"Once installed, XDM can be configured to run when the machine boots up by
adding the following line to /etc/rc.conf:
dm_enable="YES"

Or simply, using sysrc:
sysrc xdm_enable="YES"

It may seem redundant, but I believe that this way we maintain transparency of
what the sysrc command does, while also providing instructions of better ways
to do the same.

-- 
You are receiving this mail because:
You are on the CC list for the bug.