Ignore:
Timestamp:
Apr 28, 2014, 8:56:46 PM (11 years ago)
Author:
Chris Staub <chris@…>
Parents:
5c8e74d (diff), 31cfd067 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged latest systemd branch changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/boot-scripts.xml

    r5c8e74d r350ab24  
    66]>
    77
    8 <sect1 id="ch-scripts-bootscripts" role="wrap">
    9   <?dbhtml filename="bootscripts.html"?>
    10 
    11   <title>Bootscripts for CLFS &bootscripts-clfs-version;</title>
    12 
    13   <indexterm zone="ch-scripts-bootscripts">
    14     <primary sortas="a-Bootscripts">Bootscripts</primary>
     8<sect1 id="ch-scripts-boot-scripts" role="wrap">
     9  <?dbhtml filename="boot-scripts.html"?>
     10
     11  <title>Boot-scripts for CLFS &boot-scripts-clfs-version;</title>
     12
     13  <indexterm zone="ch-scripts-boot-scripts">
     14    <primary sortas="a-Boot-scripts">Boot-scripts</primary>
    1515  </indexterm>
    1616
     
    1818    <title/>
    1919
    20     <para>The Bootscripts package contains a set of scripts to
     20    <para>The Boot-scripts package contains a set of scripts to
    2121    start/stop the CLFS system at bootup/shutdown.</para>
    2222
     
    2424
    2525  <sect2 role="installation">
    26     <title>Installation of Bootscripts</title>
    27 
    28     <para os="s1">Update the bootscripts so they can be used in /tools:</para>
    29 
    30 <screen os="s2"><userinput>patch -Np1 -i ../bootscripts-cross-lfs-2.1-pre1-updates-1.patch</userinput></screen>
     26    <title>Installation of Boot-scripts</title>
    3127
    3228    <para os="a">Install the package:</para>
    3329
    34 <screen os="b"><userinput>make DESTDIR=/tools install-minimal</userinput></screen>
     30<screen os="b"><userinput>make DESTDIR=/tools install-boot-scripts</userinput></screen>
    3531
    3632  <para os="c">The <command>setclock</command> script reads the time from the
     
    3834  Semiconductor (CMOS) clock. If the hardware clock is set to UTC, this
    3935  script will convert the hardware clock's time to the local time using
    40   the <filename>/etc/localtime</filename> file (which tells the
     36  the <filename>/tools/etc/sysconfig/clock</filename> file (which tells the
    4137  <command>hwclock</command> program which timezone the user is in). There
    4238  is no way to detect whether or not the hardware clock is set to UTC, so
     
    4844  you can find out after you have booted the new machine by running the
    4945  <userinput>hwclock --localtime  --show</userinput> command, and if
    50   necessary editing the <filename>/etc/sysconfig/clock</filename> script.
     46  necessary editing the <filename>/tools/etc/sysconfig/clock</filename> file.
    5147  The worst that will happen if you make a wrong guess here is that the
    5248  time displayed will be wrong.</para>
     
    6662  </sect2>
    6763
    68   <sect2 id="contents-bootscripts" role="content">
    69     <title>Contents of Bootscripts</title>
     64  <sect2 id="contents-boot-scripts" role="content">
     65    <title>Contents of Boot-scripts</title>
    7066
    7167    <segmentedlist>
     
    8379      <?dbhtml list-presentation="table"?>
    8480
    85       <varlistentry id="checkfs-bootscripts">
     81      <varlistentry id="checkfs-boot-scripts">
    8682        <term><command>checkfs</command></term>
    8783        <listitem>
     
    8985          mounted (with the exception of journal and network based file
    9086          systems)</para>
    91           <indexterm zone="ch-scripts-bootscripts checkfs-bootscripts">
     87          <indexterm zone="ch-scripts-boot-scripts checkfs-boot-scripts">
    9288            <primary sortas="d-checkfs">checkfs</primary>
    9389          </indexterm>
     
    9591      </varlistentry>
    9692
    97       <varlistentry id="cleanfs-bootscripts">
     93      <varlistentry id="cleanfs-boot-scripts">
    9894        <term><command>cleanfs</command></term>
    9995        <listitem>
     
    104100          <filename>/etc/nologin</filename>, <filename>/fastboot</filename>,
    105101          and <filename>/forcefsck</filename> files</para>
    106           <indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts">
     102          <indexterm zone="ch-scripts-boot-scripts cleanfs-boot-scripts">
    107103            <primary sortas="d-cleanfs">cleanfs</primary>
    108104          </indexterm>
     
    110106      </varlistentry>
    111107
    112       <varlistentry id="functions-bootscripts">
     108      <varlistentry id="functions-boot-scripts">
    113109        <term><command>functions</command></term>
    114110        <listitem>
    115111          <para>Contains common functions, such as error and status checking,
    116           that are used by several bootscripts</para>
    117           <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
     112          that are used by several boot-scripts</para>
     113          <indexterm zone="ch-scripts-boot-scripts functions-boot-scripts">
    118114            <primary sortas="d-functions">functions</primary>
    119115          </indexterm>
     
    121117      </varlistentry>
    122118
    123       <varlistentry id="halt-bootscripts">
     119      <varlistentry id="halt-boot-scripts">
    124120        <term><command>halt</command></term>
    125121        <listitem>
    126122          <para>Halts the system</para>
    127           <indexterm zone="ch-scripts-bootscripts halt-bootscripts">
     123          <indexterm zone="ch-scripts-boot-scripts halt-boot-scripts">
    128124            <primary sortas="d-halt">halt</primary>
    129125          </indexterm>
     
    131127      </varlistentry>
    132128
    133       <varlistentry id="localnet-bootscripts">
     129      <varlistentry id="localnet-boot-scripts">
    134130        <term><command>localnet</command></term>
    135131        <listitem>
    136132          <para>Sets up the system's hostname and local loopback device</para>
    137           <indexterm zone="ch-scripts-bootscripts localnet-bootscripts">
     133          <indexterm zone="ch-scripts-boot-scripts localnet-boot-scripts">
    138134            <primary sortas="d-localnet">localnet</primary>
    139135          </indexterm>
     
    141137      </varlistentry>
    142138
    143       <varlistentry id="mountfs-bootscripts">
     139      <varlistentry id="mountfs-boot-scripts">
    144140        <term><command>mountfs</command></term>
    145141        <listitem>
    146142          <para>Mounts all file systems, except ones that are marked
    147143          <emphasis>noauto</emphasis> or are network based</para>
    148           <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts">
     144          <indexterm zone="ch-scripts-boot-scripts mountfs-boot-scripts">
    149145            <primary sortas="d-mountfs">mountfs</primary>
    150146          </indexterm>
     
    152148      </varlistentry>
    153149
    154       <varlistentry id="mountkernfs-bootscripts">
     150      <varlistentry id="mountkernfs-boot-scripts">
    155151        <term><command>mountkernfs</command></term>
    156152        <listitem>
    157153          <para>Mounts virtual kernel file systems, such as
    158154          <systemitem class="filesystem">proc</systemitem></para>
    159           <indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts">
     155          <indexterm zone="ch-scripts-boot-scripts mountkernfs-boot-scripts">
    160156            <primary sortas="d-mountkernfs">mountkernfs</primary>
    161157          </indexterm>
     
    163159      </varlistentry>
    164160
    165       <varlistentry id="rc-bootscripts">
     161      <varlistentry id="rc-boot-scripts">
    166162        <term><command>rc</command></term>
    167163        <listitem>
    168164          <para>The master run-level control script; it is responsible for
    169           running all the other bootscripts one-by-one, in a sequence
     165          running all the other boot-scripts one-by-one, in a sequence
    170166          determined by the name of the symbolic links being processed</para>
    171           <indexterm zone="ch-scripts-bootscripts rc-bootscripts">
     167          <indexterm zone="ch-scripts-boot-scripts rc-boot-scripts">
    172168            <primary sortas="d-rc">rc</primary>
    173169          </indexterm>
     
    175171      </varlistentry>
    176172
    177       <varlistentry id="reboot-bootscripts">
     173      <varlistentry id="reboot-boot-scripts">
    178174        <term><command>reboot</command></term>
    179175        <listitem>
    180176          <para>Reboots the system</para>
    181           <indexterm zone="ch-scripts-bootscripts reboot-bootscripts">
     177          <indexterm zone="ch-scripts-boot-scripts reboot-boot-scripts">
    182178            <primary sortas="d-reboot">reboot</primary>
    183179          </indexterm>
     
    185181      </varlistentry>
    186182
    187       <varlistentry id="sendsignals-bootscripts">
     183      <varlistentry id="sendsignals-boot-scripts">
    188184        <term><command>sendsignals</command></term>
    189185        <listitem>
    190186          <para>Makes sure every process is terminated before the system reboots
    191187          or halts</para>
    192           <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts">
     188          <indexterm zone="ch-scripts-boot-scripts sendsignals-boot-scripts">
    193189            <primary sortas="d-sendsignals">sendsignals</primary>
    194190          </indexterm>
     
    196192      </varlistentry>
    197193
    198       <varlistentry id="setclock-bootscripts">
     194      <varlistentry id="setclock-boot-scripts">
    199195        <term><command>setclock</command></term>
    200196        <listitem>
    201197          <para>Resets the kernel clock to local time in case the hardware clock
    202198          is not set to UTC time</para>
    203           <indexterm zone="ch-scripts-bootscripts setclock-bootscripts">
     199          <indexterm zone="ch-scripts-boot-scripts setclock-boot-scripts">
    204200            <primary sortas="d-setclock">setclock</primary>
    205201          </indexterm>
     
    207203      </varlistentry>
    208204
    209       <varlistentry id="swap-bootscripts">
     205      <varlistentry id="swap-boot-scripts">
    210206        <term><command>swap</command></term>
    211207        <listitem>
    212208          <para>Enables and disables swap files and partitions</para>
    213           <indexterm zone="ch-scripts-bootscripts swap-bootscripts">
     209          <indexterm zone="ch-scripts-boot-scripts swap-boot-scripts">
    214210            <primary sortas="d-swap">swap</primary>
    215211          </indexterm>
     
    217213      </varlistentry>
    218214
    219       <varlistentry id="eudev-bootscripts">
     215      <varlistentry id="eudev-boot-scripts">
    220216        <term><command>udev</command></term>
    221217        <listitem>
    222218          <para>Starts and stops the Eudev daemon</para>
    223           <indexterm zone="ch-scripts-bootscripts eudev-bootscripts">
     219          <indexterm zone="ch-scripts-boot-scripts eudev-boot-scripts">
    224220            <primary sortas="d-eudev">udev</primary>
    225221          </indexterm>
Note: See TracChangeset for help on using the changeset viewer.