More rc.conf vs sysconfig updates.
This commit is contained in:
parent
3232f3568f
commit
0cb93f7b9d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=1734
7 changed files with 30 additions and 21 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<!-- $Id: linuxemu.sgml,v 1.19 1997-03-19 03:24:50 obrien Exp $ -->
|
||||
<!-- $Id: linuxemu.sgml,v 1.20 1997-07-11 08:03:54 jkh Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
|
||||
<chapt><heading>Linux Emulation<label id="linuxemu"></heading>
|
||||
|
|
@ -106,7 +106,7 @@ EXEC 0 3 f0baf000 0018 f0bb4000 1 linux_emulator
|
|||
</verb>
|
||||
</tscreen>
|
||||
You can cause the LKM to be loaded when the system boots in either of
|
||||
two ways. On FreeBSD 2.2-RELEASE and 2.1-STABLE enable it in
|
||||
two ways. In FreeBSD 2.2.1-RELEASE and 2.1-STABLE enable it in
|
||||
/etc/sysconfig
|
||||
<tscreen>
|
||||
<verb>
|
||||
|
|
@ -122,7 +122,7 @@ linux
|
|||
</verb>
|
||||
</tscreen>
|
||||
|
||||
<sect1><heading>Installing Linux Emulation in 2.2-RELEASE and later</heading>
|
||||
<sect1><heading>Installing Linux Emulation in 2.2.2-RELEASE and later</heading>
|
||||
|
||||
<p>It is no longer necessary to specify ``options LINUX''
|
||||
or ``options COMPAT_LINUX''. Linux emulation is done with an LKM
|
||||
|
|
@ -130,19 +130,18 @@ or ``options COMPAT_LINUX''. Linux emulation is done with an LKM
|
|||
having to reboot. You will need the following things in your startup files,
|
||||
however:
|
||||
<enum>
|
||||
<item> In /etc/sysconfig, you need the following line:
|
||||
<item> In /etc/rc.conf, you need the following line:
|
||||
<tscreen>
|
||||
<verb>
|
||||
linux=YES
|
||||
linux_enable=YES
|
||||
</verb>
|
||||
</tscreen>
|
||||
<item> This, in turn, triggers the following action in /etc/rc.i386:
|
||||
<tscreen>
|
||||
<verb>
|
||||
# Start the Linux binary emulation if requested.
|
||||
if [ "X${linux}" = X"YES" ]; then
|
||||
echo -n ' '; linux
|
||||
# XXX BOGUS - Linux script shouldn't make any output on success
|
||||
if [ "X${linux_enable}" = X"YES" ]; then
|
||||
echo -n ' linux'; linux > /dev/null 2>&1
|
||||
fi
|
||||
</verb>
|
||||
</tscreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue