- Timestamp:
- 05/17/2004 09:55:01 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6f461cb
- Parents:
- 01b2724c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/bootscripts.xml
r01b2724c rc6cb3aa 35 35 36 36 37 <sect2 id="contents-bootscripts"><title>Contents of LFS-bootscripts</title> 38 39 <para><emphasis>Installed scripts</emphasis>: checkfs, cleanfs, 40 console, 41 functions, halt, ifdown, ifup, 42 localnet, mountfs, mountkernfs, network, rc, 43 reboot, sendsignals, setclock, static, swap, sysklogd and template</para> 44 45 </sect2> 46 47 48 <sect2><title>Short descriptions</title> 49 37 <sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-bootscripts</title> 38 39 <segmentedlist> 40 <segtitle>Installed scripts</segtitle> 41 <seglistitem><seg>checkfs, cleanfs, console, functions, halt, ifdown, ifup, 42 localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals, setclock, static, 43 swap, sysklogd and template</seg></seglistitem> 44 </segmentedlist> 45 46 <variablelist><title>Short descriptions</title> 47 48 <varlistentry> 49 <term id="checkfs-bootscripts"><command>checkfs</command></term> 50 <listitem> 50 51 <indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm> 51 <para id="checkfs-bootscripts">The <command>checkfs</command> script checks the file systems just 52 before they are mounted (with the exception of journal and network based 53 file systems).</para> 54 52 <para>checks the file systems just before they are mounted (with the exception of journal 53 and network based file systems).</para> 54 </listitem> 55 </varlistentry> 56 57 <varlistentry> 58 <term id="cleanfs-bootscripts"><command>cleanfs</command></term> 59 <listitem> 55 60 <indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm> 56 <para id="cleanfs-bootscripts">The <command>cleanfs</command> scriptremoves files that shouldn't be61 <para>removes files that shouldn't be 57 62 preserved between reboots, such as those in <filename>/var/run/</filename> and 58 63 <filename>/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename> 59 64 and removes the possibly present <filename>/etc/nologin</filename>, 60 65 <filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para> 61 66 </listitem> 67 </varlistentry> 68 69 <varlistentry> 70 <term id="console-bootscripts"><command>console</command></term> 71 <listitem> 62 72 <indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm> 63 <para id="console-bootscripts">The <command>console</command> script 64 loads the keymap table you 65 specified as proper for your keyboard layout. 73 <para>loads the keymap table you specified as proper for your keyboard layout. 66 74 It also sets the screen font.</para> 67 75 </listitem> 76 </varlistentry> 77 78 <varlistentry> 79 <term id="functions-bootscripts"><command>functions</command></term> 80 <listitem> 68 81 <indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm> 69 <para id="functions-bootscripts">The <command>functions</command> scriptcontains functions shared among82 <para>contains functions shared among 70 83 different scripts, such as error and status checking.</para> 71 84 </listitem> 85 </varlistentry> 86 87 <varlistentry> 88 <term id="halt-bootscripts"><command>halt</command></term> 89 <listitem> 72 90 <indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm> 73 <para id="halt-bootscripts">The <command>halt</command> script halts the system.</para> 74 91 <para>halts the system.</para> 92 </listitem> 93 </varlistentry> 94 95 <varlistentry> 96 <term id="ifdown-bootscripts"><command>ifdown</command> and <command>ifup</command></term> 97 <listitem> 75 98 <indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm> 76 <para id="ifdown-bootscripts">The <command>ifdown</command> and <command>ifup</command> scripts assist 77 the network script with network devices.</para> 78 99 <para>assist the network script with network devices.</para> 100 </listitem> 101 </varlistentry> 102 103 <varlistentry> 104 <term id="localnet-bootscripts"><command>localnet</command></term> 105 <listitem> 79 106 <indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm> 80 <para id="localnet-bootscripts">The <command>localnet</command> script sets up the system's hostname and 81 local loopback device.</para> 82 107 <para>sets up the system's hostname and local loopback device.</para> 108 </listitem> 109 </varlistentry> 110 111 <varlistentry> 112 <term id="mountfs-bootscripts"><command>mountfs</command></term> 113 <listitem> 83 114 <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm> 84 <para id="mountfs-bootscripts">The <command>mountfs</command> scriptmounts all file systems that115 <para>mounts all file systems that 85 116 aren't marked <emphasis>noauto</emphasis> or aren't network based.</para> 86 117 </listitem> 118 </varlistentry> 119 120 <varlistentry> 121 <term id="mountkernfs-bootscripts"><command>mountkernfs</command></term> 122 <listitem> 87 123 <indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm> 88 <para id="mountkernfs-bootscripts">The <command>mountkernfs</command> script is used to mount 89 kernel-provided file systems, such as /proc.</para> 90 124 <para>is used to mount kernel-provided file systems, such as /proc.</para> 125 </listitem> 126 </varlistentry> 127 128 <varlistentry> 129 <term id="network-bootscripts"><command>network</command></term> 130 <listitem> 91 131 <indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm> 92 <para id="network-bootscripts">The <command>network</command> scriptsets up network interfaces, such132 <para>sets up network interfaces, such 93 133 as network cards, and sets up the default gateway where applicable.</para> 94 134 </listitem> 135 </varlistentry> 136 137 <varlistentry> 138 <term id="rc-bootscripts"><command>rc</command></term> 139 <listitem> 95 140 <indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm> 96 <para id="rc-bootscripts">The <command>rc</command> scriptis the master run-level control script.141 <para>is the master run-level control script. 97 142 It is responsible for running all the other scripts one-by-one, in a sequence 98 143 determined by the name of the symbolic links being processed.</para> 99 144 </listitem> 145 </varlistentry> 146 147 <varlistentry> 148 <term id="reboot-bootscripts"><command>reboot</command></term> 149 <listitem> 100 150 <indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm> 101 <para id="reboot-bootscripts">The <command>reboot</command> script reboots the system.</para> 102 151 <para>reboots the system.</para> 152 </listitem> 153 </varlistentry> 154 155 <varlistentry> 156 <term id="sendsignals-bootscripts"><command>sendsignals</command></term> 157 <listitem> 103 158 <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm> 104 <para id="sendsignals-bootscripts">The <command>sendsignals</command> script makes sure every process is 105 terminated before the system reboots or halts.</para> 106 159 <para>makes sure every process is terminated before the system reboots or halts.</para> 160 </listitem> 161 </varlistentry> 162 163 <varlistentry> 164 <term id="setclock-bootscripts"><command>setclock</command></term> 165 <listitem> 107 166 <indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm> 108 <para id="setclock-bootscripts">The <command>setclock</command> scriptresets the kernel clock to167 <para>resets the kernel clock to 109 168 localtime in case the hardware clock isn't set to GMT time.</para> 110 169 </listitem> 170 </varlistentry> 171 172 <varlistentry> 173 <term id="static-bootscripts"><command>static</command></term> 174 <listitem> 111 175 <indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm> 112 <para id="static-bootscripts">The <command>static</command> scriptprovides the functionality needed176 <para>provides the functionality needed 113 177 to assign a static IP address to a network interface.</para> 114 178 </listitem> 179 </varlistentry> 180 181 <varlistentry> 182 <term id="swap-bootscripts"><command>swap</command></term> 183 <listitem> 115 184 <indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm> 116 <para id="swap-bootscripts">The <command>swap</command> script enables and disables swap files and 117 partitions.</para> 118 185 <para>enables and disables swap files and partitions.</para> 186 </listitem> 187 </varlistentry> 188 189 <varlistentry> 190 <term id="sysklogd-bootscripts"><command>sysklogd</command></term> 191 <listitem> 119 192 <indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts"><primary sortas="d-sysklogd">sysklogd</primary></indexterm> 120 <para id="sysklogd-bootscripts">The <command>sysklogd</command> script starts and stops the system and 121 kernel log daemons.</para> 122 193 <para>starts and stops the system and kernel log daemons.</para> 194 </listitem> 195 </varlistentry> 196 197 <varlistentry> 198 <term id="template-bootscripts"><command>template</command></term> 199 <listitem> 123 200 <indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm> 124 <para id="template-bootscripts">The <command>template</command> scriptis a template you can use to201 <para>is a template you can use to 125 202 create your own bootscripts for your other daemons.</para> 203 </listitem> 204 </varlistentry> 205 </variablelist> 126 206 127 207 </sect2> 128 208 129 130 131 209 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.