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.
This commit is contained in:
parent
86d775c974
commit
25078f245d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52153
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>echo 'geom_stripe_load="YES"' >> /boot/loader.conf</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysrc -f /boot/loader.conf geom_stripe_load=YES</userinput></screen>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect1>
|
||||
|
|
|
@ -1789,7 +1789,7 @@ raisechar=^^</programlisting>
|
|||
console, issue the following command as the
|
||||
superuser:</para>
|
||||
|
||||
<screen>&prompt.root; echo 'console="comconsole"' >> /boot/loader.conf</screen>
|
||||
<screen>&prompt.root; sysrc -f /boot/loader.conf console=comconsole</screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
Loading…
Reference in a new issue