Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2024 12:04:38 GMT
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 704fe1922d - main - Fix sysrc examples
Message-ID:  <202410131204.49DC4cV9078030@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/doc/commit/?id=704fe1922d2742035f72212feb67e47d5e728bfe

commit 704fe1922d2742035f72212feb67e47d5e728bfe
Author:     Alexander Ziaee <concussious@runbox.com>
AuthorDate: 2024-10-13 12:02:07 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2024-10-13 12:02:07 +0000

    Fix sysrc examples
    
    When using sysrc, adding the quotes is not needed as that is what the
    tool takes care of. Also, remove the spaces around the cuse module as
    that is not proper syntax.
---
 documentation/content/en/books/handbook/multimedia/_index.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/handbook/multimedia/_index.adoc b/documentation/content/en/books/handbook/multimedia/_index.adoc
index e144406a5e..3d738fc685 100644
--- a/documentation/content/en/books/handbook/multimedia/_index.adoc
+++ b/documentation/content/en/books/handbook/multimedia/_index.adoc
@@ -482,7 +482,7 @@ Enable the man:webcamd[8] service in `/etc/rc.conf` to start it at system boot:
 
 [source,shell]
 ....
-# sysrc webcamd_enable="YES"
+# sysrc webcamd_enable=YES
 ....
 
 The user must belong to the `webcamd` group.
@@ -504,7 +504,7 @@ To load man:cuse[3] at system boot, execute the command:
 
 [source,shell]
 ....
-# sysrc kld_list += "cuse"
+# sysrc kld_list+=cuse
 ....
 
 Once the utilities have been installed the list of available webcams can be shown with man:webcamd[8]:
@@ -737,7 +737,7 @@ To activate the service and have it run at boot execute the following command:
 
 [source,shell]
 ....
-# sysrc saned_enable="YES"
+# sysrc saned_enable=YES
 ....
 
 While man:scanimage[1] can be used to perform an image acquisition from the command line, it is often preferable to use a graphical interface to perform image scanning.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410131204.49DC4cV9078030>