[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: Wed, 08 Jan 2025 00:58:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263782

Kai Burghardt <freebsd@KaiBurghardt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@KaiBurghardt.de

--- Comment #17 from Kai Burghardt <freebsd@KaiBurghardt.de> ---
(In reply to Pau Amma from comment #12)

I am not sure if using `sysrc(8)` was necessarily "better", but for the
sake of completeness I suggest replacing

    sysrc someservice_enable="YES"

with

    service someservice enable

too. Furthermore, I could not help notice that you re-use pre-existing

    [.programlisting]
    ...
    ...

blocks. I believe the correct form is

    [source,shell]
    ...
    ...

The visual style is slightly different, if you hover with your mouse
over the respective block you see "shell" and you are provided with a
"copy to clipboard" function/link.

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