mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Adapt the LFS book for new jhalfs. The only visible change should be
in "Static IP Configuration" for systemd, where <network-device-name> is made <replaceable>, and so appears in italics (note: this is not needed by jhalfs, but is consistent with other similar constructs in the book) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11555 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5323dbffae
commit
81541264e9
@ -36,7 +36,7 @@
|
|||||||
<para>Create the <filename>/etc/adjtime</filename> file with the following contents
|
<para>Create the <filename>/etc/adjtime</filename> file with the following contents
|
||||||
if your hardware clock is set to local time:</para>
|
if your hardware clock is set to local time:</para>
|
||||||
|
|
||||||
<screen role="nodump"><userinput>cat > /etc/adjtime << "EOF"
|
<screen><userinput>cat > /etc/adjtime << "EOF"
|
||||||
<literal>0.0 0 0.0
|
<literal>0.0 0 0.0
|
||||||
0
|
0
|
||||||
LOCAL</literal>
|
LOCAL</literal>
|
||||||
|
@ -75,8 +75,10 @@
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>An example for a German keyboard and console is given below:</para>
|
<para>An example for a German keyboard and console is given below:</para>
|
||||||
|
<!-- This is what is used by jhalfs for creating the vconsole.conf file.
|
||||||
<screen role="nodump"><userinput>cat > /etc/vconsole.conf << "EOF"
|
Whenever you want to change the following, please inform the jhalfs
|
||||||
|
maintianer(s). -->
|
||||||
|
<screen><userinput>cat > /etc/vconsole.conf << "EOF"
|
||||||
<literal>KEYMAP=de-latin1
|
<literal>KEYMAP=de-latin1
|
||||||
FONT=Lat2-Terminus16</literal>
|
FONT=Lat2-Terminus16</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
@ -46,7 +46,8 @@
|
|||||||
|
|
||||||
<para>The following command creates a sample file for the
|
<para>The following command creates a sample file for the
|
||||||
<emphasis>eth0</emphasis> device with a static IP address:</para>
|
<emphasis>eth0</emphasis> device with a static IP address:</para>
|
||||||
|
<!-- jhalfs relies on the values for IFACE, IP, etc. If you want to change
|
||||||
|
them, please inform the jhalfs maintainer. -->
|
||||||
<screen><userinput>cd /etc/sysconfig/
|
<screen><userinput>cd /etc/sysconfig/
|
||||||
cat > ifconfig.eth0 << "EOF"
|
cat > ifconfig.eth0 << "EOF"
|
||||||
<literal>ONBOOT=yes
|
<literal>ONBOOT=yes
|
||||||
|
@ -111,10 +111,11 @@ EOF</userinput></screen>
|
|||||||
<para>The command below creates a basic configuration file for a
|
<para>The command below creates a basic configuration file for a
|
||||||
Static IP setup (using both systemd-networkd and
|
Static IP setup (using both systemd-networkd and
|
||||||
systemd-resolved):</para>
|
systemd-resolved):</para>
|
||||||
|
<!-- jhalfs relies on the values for Name, Address, etc. If you want to change
|
||||||
|
them, please inform the jhalfs maintainer. -->
|
||||||
<screen><userinput>cat > /etc/systemd/network/10-eth-static.network << "EOF"
|
<screen><userinput>cat > /etc/systemd/network/10-eth-static.network << "EOF"
|
||||||
<literal>[Match]
|
<literal>[Match]
|
||||||
Name=<network-device-name>
|
Name=<replaceable><network-device-name></replaceable>
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Address=192.168.0.2/24
|
Address=192.168.0.2/24
|
||||||
|
@ -489,8 +489,9 @@ EOF</userinput></screen>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>The following is a Unicode-enabled example for Bulgarian, where a
|
<para>The following is a Unicode-enabled example for Bulgarian, where a
|
||||||
stock UTF-8 keymap exists:</para>
|
stock UTF-8 keymap exists:</para>
|
||||||
|
<!-- This is what is used by jhalfs for creating the console file: whenever
|
||||||
<screen role="nodump"><userinput>cat > /etc/sysconfig/console << "EOF"
|
you change the following, please inform the jhalfs maintainer(s). -->
|
||||||
|
<screen><userinput>cat > /etc/sysconfig/console << "EOF"
|
||||||
<literal># Begin /etc/sysconfig/console
|
<literal># Begin /etc/sysconfig/console
|
||||||
|
|
||||||
UNICODE="1"
|
UNICODE="1"
|
||||||
|
Loading…
Reference in New Issue
Block a user