svn commit: r54321 - in head/en_US.ISO8859-1/books/handbook: geom serialcomms
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Jul 9 09:38:07 UTC 2020
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"' >> /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"' >> /boot/loader.conf</screen>
</step>
<step>
More information about the svn-doc-head
mailing list