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

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: 0mp
Date: Thu Jul  9 09:38:06 2020
New Revision: 54321
URL: https://svnweb.freebsd.org/changeset/doc/54321

Log:
  Revert r52153, do not use sysrc for loader.conf
  
  sysrc(8) is only suitable for sh(1) files like rc.conf(5). The syntax of
  loader.conf(5) is not compatible with sh(1), e.g., because of the dots in
  the variables names.

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	Thu Jul  9 08:59:20 2020	(r54320)
+++ head/en_US.ISO8859-1/books/handbook/geom/chapter.xml	Thu Jul  9 09:38:06 2020	(r54321)
@@ -244,7 +244,7 @@ Done.</screen>
 	  adding a line to
 	  <filename>/boot/loader.conf</filename>:</para>
 
-	<screen>&prompt.root; <userinput>sysrc -f /boot/loader.conf geom_stripe_load=YES</userinput></screen>
+	<screen>&prompt.root; <userinput>echo 'geom_stripe_load="YES"' &gt;&gt; /boot/loader.conf</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	Thu Jul  9 08:59:20 2020	(r54320)
+++ head/en_US.ISO8859-1/books/handbook/serialcomms/chapter.xml	Thu Jul  9 09:38:06 2020	(r54321)
@@ -1789,7 +1789,7 @@ raisechar=^^</programlisting>
 	    console, issue the following command as the
 	    superuser:</para>
 
-	  <screen>&prompt.root; sysrc -f /boot/loader.conf console=comconsole</screen>
+	  <screen>&prompt.root; echo 'console="comconsole"' &gt;&gt; /boot/loader.conf</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.