Changeset cba2d4e for chapter06/sysvinit.xml
- Timestamp:
- 04/03/2014 09:52:09 PM (10 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, 7.6, 7.7, 7.8, 7.9, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 9839808
- Parents:
- 008436e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/sysvinit.xml
r008436e rcba2d4e 83 83 <screen><userinput remap="install">make -C src install</userinput></screen> 84 84 85 <para>Move files that have a name conflict with <xref linkend="ch-system-systemd"/> 86 so that both packages can be installed side-by-side:</para> 87 88 <screen><userinput remap="install">for p in init halt poweroff reboot runlevel shutdown telinit; do 89 mv -v /sbin/$p /sbin/$p-sysv 90 mv -v /usr/share/man/man8/$p.8 /usr/share/man/man8/$p-sysv.8 91 done</userinput></screen> 92 85 93 </sect2> 86 94 … … 123 131 </varlistentry> 124 132 125 <varlistentry id="halt ">133 <varlistentry id="halt-sysv"> 126 134 <term><command>halt</command></term> 127 135 <listitem> … … 131 139 file <filename>/var/log/wtmp</filename> that the system is being 132 140 brought down</para> 133 <indexterm zone="ch-system-sysvinit halt ">141 <indexterm zone="ch-system-sysvinit halt-sysv"> 134 142 <primary sortas="b-halt">halt</primary> 135 143 </indexterm> … … 137 145 </varlistentry> 138 146 139 <varlistentry id="init ">147 <varlistentry id="init-sysv"> 140 148 <term><command>init</command></term> 141 149 <listitem> … … 143 151 the hardware which takes over the boot process and starts all the 144 152 proceses it is instructed to</para> 145 <indexterm zone="ch-system-sysvinit init ">153 <indexterm zone="ch-system-sysvinit init-sysv"> 146 154 <primary sortas="b-init">init</primary> 147 155 </indexterm> … … 161 169 </varlistentry> 162 170 163 <varlistentry id="poweroff ">171 <varlistentry id="poweroff-sysv"> 164 172 <term><command>poweroff</command></term> 165 173 <listitem> 166 174 <para>Tells the kernel to halt the system and switch off the computer 167 175 (see <command>halt</command>)</para> 168 <indexterm zone="ch-system-sysvinit poweroff ">176 <indexterm zone="ch-system-sysvinit poweroff-sysv"> 169 177 <primary sortas="b-poweroff">poweroff</primary> 170 178 </indexterm> … … 172 180 </varlistentry> 173 181 174 <varlistentry id="reboot ">182 <varlistentry id="reboot-sysv"> 175 183 <term><command>reboot</command></term> 176 184 <listitem> 177 185 <para>Tells the kernel to reboot the system (see 178 186 <command>halt</command>)</para> 179 <indexterm zone="ch-system-sysvinit reboot ">187 <indexterm zone="ch-system-sysvinit reboot-sysv"> 180 188 <primary sortas="b-reboot">reboot</primary> 181 189 </indexterm> … … 183 191 </varlistentry> 184 192 185 <varlistentry id="runlevel ">193 <varlistentry id="runlevel-sysv"> 186 194 <term><command>runlevel</command></term> 187 195 <listitem> 188 196 <para>Reports the previous and the current run-level, as noted in the 189 197 last run-level record in <filename>/var/run/utmp</filename></para> 190 <indexterm zone="ch-system-sysvinit runlevel ">198 <indexterm zone="ch-system-sysvinit runlevel-sysv"> 191 199 <primary sortas="b-runlevel">runlevel</primary> 192 200 </indexterm> … … 194 202 </varlistentry> 195 203 196 <varlistentry id="shutdown ">204 <varlistentry id="shutdown-sysv"> 197 205 <term><command>shutdown</command></term> 198 206 <listitem> 199 207 <para>Brings the system down in a secure way, signaling all processes 200 208 and notifying all logged-in users</para> 201 <indexterm zone="ch-system-sysvinit shutdown ">209 <indexterm zone="ch-system-sysvinit shutdown-sysv"> 202 210 <primary sortas="b-shutdown">shutdown</primary> 203 211 </indexterm> … … 205 213 </varlistentry> 206 214 207 <varlistentry id="telinit ">215 <varlistentry id="telinit-sysv"> 208 216 <term><command>telinit</command></term> 209 217 <listitem> 210 218 <para>Tells <command>init</command> which run-level to change to</para> 211 <indexterm zone="ch-system-sysvinit telinit ">219 <indexterm zone="ch-system-sysvinit telinit-sysv"> 212 220 <primary sortas="b-telinit">telinit</primary> 213 221 </indexterm>
Note:
See TracChangeset
for help on using the changeset viewer.