svn commit: r52152 - in head/en_US.ISO8859-1/books/handbook: multimedia security
Benedict Reuschling
bcr at FreeBSD.org
Fri Aug 17 21:25:59 UTC 2018
Author: bcr
Date: Fri Aug 17 21:25:58 2018
New Revision: 52152
URL: https://svnweb.freebsd.org/changeset/doc/52152
Log:
Replace two instances of
echo "foo='YES'" >> /etc/rc.conf
with
sysrc foo=yes
which is shorter and provides additional error checking.
Modified:
head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
head/en_US.ISO8859-1/books/handbook/security/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml Fri Aug 17 14:44:51 2018 (r52151)
+++ head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml Fri Aug 17 21:25:58 2018 (r52152)
@@ -1358,7 +1358,7 @@ bktr0: Pinnacle/Miro TV, Philips SECAM tuner.</program
<para>Finally, start the backend:</para>
- <screen>&prompt.root; <userinput>echo 'mythbackend_enable="YES"' >> /etc/rc.conf</userinput>
+ <screen>&prompt.root; <userinput>sysrc mythbackend_enable=yes</userinput>
&prompt.root; <userinput>service mythbackend start</userinput></screen>
</sect2>
</sect1>
Modified: head/en_US.ISO8859-1/books/handbook/security/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/security/chapter.xml Fri Aug 17 14:44:51 2018 (r52151)
+++ head/en_US.ISO8859-1/books/handbook/security/chapter.xml Fri Aug 17 21:25:58 2018 (r52152)
@@ -3580,7 +3580,7 @@ UWWemqWuz3lAZuORQ9KX
<screen>&prompt.root; <userinput>touch /var/account/acct</userinput>
&prompt.root; <userinput>chmod 600 /var/account/acct</userinput>
&prompt.root; <userinput>accton /var/account/acct</userinput>
-&prompt.root; <userinput>echo 'accounting_enable="YES"' >> /etc/rc.conf</userinput></screen>
+&prompt.root; <userinput>sysrc accounting_enable=yes</userinput></screen>
<para>Once enabled, accounting will begin to track information
such as <acronym>CPU</acronym> statistics and executed
More information about the svn-doc-all
mailing list