Example commands look immensely better when they are not part of the

running text, so split off a sample command to a <screen> by itself.

While here, fix some quoting problems of /boot/loader.conf examples[1]

Submitted by:	ckoch001@informatik.fh-wiesbaden.de [1]
This commit is contained in:
Giorgos Keramidas 2005-05-04 14:52:04 +00:00
parent 8c2ba4a940
commit fd5e6e97b4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24442

View file

@ -1947,8 +1947,8 @@ raisechar=^^</programlisting>
<step>
<para>To see all boot messages on the serial console, issue
the following command: <command>echo "set console=comconsole" &gt;
/boot/loader.conf</command>. </para>
the following command while logged in as the superuser:</para>
<screen>&prompt.root; echo 'set console="comconsole"' &gt; /boot/loader.conf</screen>
</step>
<step>
@ -2579,7 +2579,7 @@ ttyd3 "/usr/libexec/getty std.9600" unknown off secure</programlisting>
serial console by writing just one line in
<filename>/boot/loader.rc</filename>:</para>
<programlisting>set console=comconsole</programlisting>
<programlisting>set console="comconsole"</programlisting>
<para>This will take effect regardless of the settings in the boot
block discussed in the previous section.</para>
@ -2590,7 +2590,7 @@ ttyd3 "/usr/libexec/getty std.9600" unknown off secure</programlisting>
<para>Likewise, you can specify the internal console as:</para>
<programlisting>set console=vidconsole</programlisting>
<programlisting>set console="vidconsole"</programlisting>
<para>If you do not set the boot loader environment variable
<envar>console</envar>, the boot loader, and subsequently the