Changes in BOOK/boot/common/sysvinit.xml [2c67422:d5f948c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/sysvinit.xml
r2c67422 rd5f948c 16 16 </indexterm> 17 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/common/sysvinit.xml" 20 xpointer="xpointer(//*[@role='package'])"/> 18 <sect2 role="package"> 19 <title/> 20 21 <para>The Sysvinit package contains programs for controlling the startup, 22 running, and shutdown of the system.</para> 23 24 </sect2> 21 25 22 26 <sect2 role="installation"> … … 30 34 src/Makefile.orig > src/Makefile</userinput></screen> 31 35 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 33 href="../../final-system/common/sysvinit.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 36 <para os ="c">Compile the package:</para> 35 37 36 38 <screen os="ac"><userinput>make -C src clobber 37 39 make -C src CC="${CC}"</userinput></screen> 38 40 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../../final-system/common/sysvinit.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 41 <para os="e">Install the package:</para> 42 42 43 43 <screen os="ad"><userinput>make -C src ROOT=${CLFS} install</userinput></screen> … … 109 109 EOF</userinput></screen> 110 110 111 </sect2> 112 113 <sect2 role="content"> 114 <title/> 115 116 <para>Details on this package are located in <xref 117 linkend="contents-sysvinit" role="."/></para> 111 <para>The <parameter>-I '\033(K'</parameter> option tells 112 <command>agetty</command> to send this escape sequence to the terminal 113 before doing anything else. This escape sequence switches the console 114 character set to a user-defined one, which can be modified by running 115 the <command>setfont</command> program. The <command>console</command> 116 initscript from the CLFS-Bootscripts package calls the 117 <command>setfont</command> program during system startup. Sending this 118 escape sequence is necessary for people who use non-ISO 8859-1 screen 119 fonts, but it does not affect native English speakers.</para> 120 121 </sect2> 122 123 <sect2 id="contents-sysvinit" role="content"> 124 <title>Contents of Sysvinit</title> 125 126 <segmentedlist> 127 <segtitle>Installed programs</segtitle> 128 129 <seglistitem> 130 <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to 131 killall5), poweroff (link to halt), reboot (link to halt), runlevel, 132 shutdown, and telinit (link to init)</seg> 133 </seglistitem> 134 </segmentedlist> 135 136 <variablelist> 137 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 138 <?dbfo list-presentation="list"?> 139 <?dbhtml list-presentation="table"?> 140 141 <varlistentry id="bootlogd"> 142 <term><command>bootlogd</command></term> 143 <listitem> 144 <para>Logs boot messages to a log file</para> 145 <indexterm zone="ch-boot-sysvinit bootlogd"> 146 <primary sortas="b-bootlogd">bootlogd</primary> 147 </indexterm> 148 </listitem> 149 </varlistentry> 150 151 <varlistentry id="fstab-decode"> 152 <term><command>fstab-decode</command></term> 153 <listitem> 154 <para>Runs a command with fstab-encoded arguments</para> 155 <indexterm zone="ch-boot-sysvinit fstab-decode"> 156 <primary sortas="b-fstab-decode">fstab-decode</primary> 157 </indexterm> 158 </listitem> 159 </varlistentry> 160 161 <varlistentry id="halt"> 162 <term><command>halt</command></term> 163 <listitem> 164 <para>Normally invokes <command>shutdown</command> with the 165 <parameter>-h</parameter> option, except when already in run-level 0, 166 then it tells the kernel to halt the system; it notes in the 167 file <filename>/var/log/wtmp</filename> that the system is being 168 brought down</para> 169 <indexterm zone="ch-boot-sysvinit halt"> 170 <primary sortas="b-halt">halt</primary> 171 </indexterm> 172 </listitem> 173 </varlistentry> 174 175 <varlistentry id="init"> 176 <term><command>init</command></term> 177 <listitem> 178 <para>The first process to be started when the kernel has initialized 179 the hardware which takes over the boot process and starts all the 180 proceses it is instructed to</para> 181 <indexterm zone="ch-boot-sysvinit init"> 182 <primary sortas="b-init">init</primary> 183 </indexterm> 184 </listitem> 185 </varlistentry> 186 187 <varlistentry id="killall5"> 188 <term><command>killall5</command></term> 189 <listitem> 190 <para>Sends a signal to all processes, except the processes in its own 191 session so it will not kill the shell running the script that called 192 it</para> 193 <indexterm zone="ch-boot-sysvinit killall5"> 194 <primary sortas="b-killall5">killall5</primary> 195 </indexterm> 196 </listitem> 197 </varlistentry> 198 199 <varlistentry id="pidof"> 200 <term><command>pidof</command></term> 201 <listitem> 202 <para>Reports the PIDs of the given programs</para> 203 <indexterm zone="ch-boot-sysvinit pidof"> 204 <primary sortas="b-pidof">pidof</primary> 205 </indexterm> 206 </listitem> 207 </varlistentry> 208 209 <varlistentry id="poweroff"> 210 <term><command>poweroff</command></term> 211 <listitem> 212 <para>Tells the kernel to halt the system and switch off the computer 213 (see <command>halt</command>)</para> 214 <indexterm zone="ch-boot-sysvinit poweroff"> 215 <primary sortas="b-poweroff">poweroff</primary> 216 </indexterm> 217 </listitem> 218 </varlistentry> 219 220 <varlistentry id="reboot"> 221 <term><command>reboot</command></term> 222 <listitem> 223 <para>Tells the kernel to reboot the system (see 224 <command>halt</command>)</para> 225 <indexterm zone="ch-boot-sysvinit reboot"> 226 <primary sortas="b-reboot">reboot</primary> 227 </indexterm> 228 </listitem> 229 </varlistentry> 230 231 <varlistentry id="runlevel"> 232 <term><command>runlevel</command></term> 233 <listitem> 234 <para>Reports the previous and the current run-level, as noted in 235 the last run-level record in <filename>/var/run/utmp</filename></para> 236 <indexterm zone="ch-boot-sysvinit runlevel"> 237 <primary sortas="b-runlevel">runlevel</primary> 238 </indexterm> 239 </listitem> 240 </varlistentry> 241 242 <varlistentry id="shutdown"> 243 <term><command>shutdown</command></term> 244 <listitem> 245 <para>Brings the system down in a secure way, signaling all processes 246 and notifying all logged-in users</para> 247 <indexterm zone="ch-boot-sysvinit shutdown"> 248 <primary sortas="b-shutdown">shutdown</primary> 249 </indexterm> 250 </listitem> 251 </varlistentry> 252 253 <varlistentry id="telinit"> 254 <term><command>telinit</command></term> 255 <listitem> 256 <para>Tells <command>init</command> which run-level to change to</para> 257 <indexterm zone="ch-boot-sysvinit telinit"> 258 <primary sortas="b-telinit">telinit</primary> 259 </indexterm> 260 </listitem> 261 </varlistentry> 262 263 </variablelist> 118 264 119 265 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.