svn commit: r52152 - in head/en_US.ISO8859-1/books/handbook: multimedia security

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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"' &gt;&gt; /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"' &gt;&gt; /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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.