svn commit: r52153 - in head/en_US.ISO8859-1/books/handbook: geom serialcomms

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: bcr
Date: Fri Aug 17 21:34:10 2018
New Revision: 52153
URL: https://svnweb.freebsd.org/changeset/doc/52153

Log:
  Replace two instances of
  
  echo "foo='bar'" >> /boot/loader.conf
  
  with
  
  sysrc -f /boot/loader.conf foo=bar
  
  which is easier to type and provides some error checking through sysrc.

Modified:
  head/en_US.ISO8859-1/books/handbook/geom/chapter.xml
  head/en_US.ISO8859-1/books/handbook/serialcomms/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/geom/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/geom/chapter.xml	Fri Aug 17 21:25:58 2018	(r52152)
+++ head/en_US.ISO8859-1/books/handbook/geom/chapter.xml	Fri Aug 17 21:34:10 2018	(r52153)
@@ -244,7 +244,7 @@ Done.</screen>
 	  adding a line to
 	  <filename>/boot/loader.conf</filename>:</para>
 
-	<screen>&prompt.root; <userinput>echo 'geom_stripe_load="YES"' &gt;&gt; /boot/loader.conf</userinput></screen>
+	<screen>&prompt.root; <userinput>sysrc -f /boot/loader.conf geom_stripe_load=YES</userinput></screen>
       </step>
     </procedure>
   </sect1>

Modified: head/en_US.ISO8859-1/books/handbook/serialcomms/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/serialcomms/chapter.xml	Fri Aug 17 21:25:58 2018	(r52152)
+++ head/en_US.ISO8859-1/books/handbook/serialcomms/chapter.xml	Fri Aug 17 21:34:10 2018	(r52153)
@@ -1789,7 +1789,7 @@ raisechar=^^</programlisting>
 	    console, issue the following command as the
 	    superuser:</para>
 
-	  <screen>&prompt.root; echo 'console="comconsole"' &gt;&gt; /boot/loader.conf</screen>
+	  <screen>&prompt.root; sysrc -f /boot/loader.conf console=comconsole</screen>
 	</step>
 
 	<step>
_______________________________________________
[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.