FreeBSD Bugzilla – Attachment 233805 Details for
Bug 263782
Use sysrc instead of manually editing rc.conf throughout the FreeBSD Handbook for simplicity and consistency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Found a few more
pf-sysrc.txt (text/plain), 4.48 KB, created by
John Darrah
on 2022-05-08 06:52:48 UTC
(
hide
)
Description:
Found a few more
Filename:
MIME Type:
Creator:
John Darrah
Created:
2022-05-08 06:52:48 UTC
Size:
4.48 KB
patch
obsolete
>diff --git a/documentation/content/en/books/handbook/firewalls/_index.adoc b/documentation/content/en/books/handbook/firewalls/_index.adoc >index ec3bc64543..578861e7d9 100644 >--- a/documentation/content/en/books/handbook/firewalls/_index.adoc >+++ b/documentation/content/en/books/handbook/firewalls/_index.adoc >@@ -182,9 +182,8 @@ It also provides several examples for creating rulesets on a FreeBSD system. > === Enabling PF > > To use PF, its kernel module must be first loaded. >-This section describes the entries that can be added to [.filename]#/etc/rc.conf# to enable PF. >+This section describes the entries that can be added to enable PF using https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc]: > >-Start by adding `pf_enable=yes` to [.filename]#/etc/rc.conf#: > > [source,shell] > .... >@@ -192,7 +191,7 @@ Start by adding `pf_enable=yes` to [.filename]#/etc/rc.conf#: > .... > > Additional options, described in man:pfctl[8], can be passed to PF when it is started. >-Add or change this entry in [.filename]#/etc/rc.conf# and specify any required flags between the two quotes (`""`): >+Use https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] to specify any required flags between the two quotes (`""`): > > [.programlisting] > .... >@@ -202,7 +201,7 @@ pf_flags="" # additional flags for pfctl startup > PF will not start if it cannot find its ruleset configuration file. > By default, FreeBSD does not ship with a ruleset and there is no [.filename]#/etc/pf.conf#. > Example rulesets can be found in [.filename]#/usr/share/examples/pf/#. >-If a custom ruleset has been saved somewhere else, add a line to [.filename]#/etc/rc.conf# which specifies the full path to the file: >+If a custom ruleset has been saved somewhere else, use https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] to add a line to specify the full path to the file: > > [.programlisting] > .... >@@ -210,7 +209,7 @@ pf_rules="/path/to/pf.conf" > .... > > Logging support for PF is provided by man:pflog[4]. >-To enable logging support, add `pflog_enable=yes` to [.filename]#/etc/rc.conf#: >+To enable logging support, add `pflog_enable=yes` with https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc]: > > [source,shell] > .... >diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/documentation/content/en/books/handbook/x11/_index.adoc >index 9aa05ef7a9..2e120582a9 100644 >--- a/documentation/content/en/books/handbook/x11/_index.adoc >+++ b/documentation/content/en/books/handbook/x11/_index.adoc >@@ -942,7 +942,7 @@ Refer to <<x11-wm-gnome>> for instructions on how to configure the GNOME Display > === Configuring XDM > > To install XDM, use the package:x11/xdm[] package or port. >-Once installed, XDM can be configured to run when the machine boots up by using sysrc: >+Once installed, XDM can be configured to run when the machine boots up by using https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc]: > > [.programlisting] > .... >@@ -1046,7 +1046,7 @@ proc /proc procfs rw 0 0 > > GNOME uses D-Bus for a message bus and hardware abstraction. > These applications are automatically installed as dependencies of GNOME. >-Enable them with sysrc so they will be started when the system boots: >+Enable them with https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] so they will be started when the system boots: > > [.programlisting] > .... >@@ -1063,7 +1063,7 @@ sysrc gdm_enable="YES" > .... > > It is often desirable to also start all GNOME services. >-To achieve this, use sysrc: >+To achieve this, use https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc]: > > [.programlisting] > .... >@@ -1124,7 +1124,7 @@ proc /proc procfs rw 0 0 > > KDE uses D-Bus for a message bus and hardware abstraction. > These applications are automatically installed as dependencies of KDE. >-Enable them with sysrc so they will be started when the system boots: >+Enable them with https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] so they will be started when the system boots: > > [.programlisting] > .... >@@ -1140,7 +1140,7 @@ To install it, type: > # pkg install x11/sddm > .... > >-Use sysrc to enable: >+Use https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] to enable: > > [.programlisting] > .... >@@ -1191,7 +1191,7 @@ Alternatively, to build the port: > > Xfce uses D-Bus for a message bus. > This application is automatically installed as dependency of Xfce. >-Enable it with sysrc so it will be started when the system boots: >+Enable it with https://www.freebsd.org/cgi/man.cgi?query=sysrc[sysrc] so it will be started when the system boots: > > [.programlisting] > ....
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263782
:
233758
|
233804
|
233805
|
233807
|
233821