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.
This commit is contained in:
parent
95f7e521c7
commit
b4b3ceb521
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54321
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue