Changeset 34598ae
- Timestamp:
- 05/14/2004 06:52:08 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 056970c5
- Parents:
- ff3b4cd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
index.xml
rff3b4cd r34598ae 3 3 "/usr/share/docbook/docbookx.dtd" [ 4 4 5 <!ENTITY version "CVS-2004051 3">6 <!ENTITY releasedate "May 1 3th, 2004">7 <!ENTITY pubdate "2004-05-1 3">5 <!ENTITY version "CVS-20040515"> 6 <!ENTITY releasedate "May 15th, 2004"> 7 <!ENTITY pubdate "2004-05-15"> 8 8 <!ENTITY blfs-version "cvs"> 9 9 -
introduction/important/bootscripts.xml
rff3b4cd r34598ae 1 <sect1 id="intro-important-bootscripts" xreflabel=" lfs-bootscripts">1 <sect1 id="intro-important-bootscripts" xreflabel="blfs-bootscripts-&blfs-bootscripts-version;"> 2 2 <?dbhtml filename="bootscripts.html"?> 3 <title><acronym> LFS</acronym> Boot Scripts</title>3 <title><acronym>BLFS</acronym> Boot Scripts</title> 4 4 5 <para>The lfs-bootscripts package that was used in <acronym>LFS</acronym> also 6 contains bootscripts for <acronym>BLFS</acronym>. 5 <para>The BLFS Bootscripts package contains the init scripts that are 6 used throughout the book. It is assumed that you will be using the blfs-bootscripts 7 package in conjuction with a compatible lfs-bootscripts package. 7 8 Refer to <ulink url="&lfs-root;/chapter07/bootscripts.html"/> for more 8 9 information on the lfs-bootscripts package.</para> 9 10 10 <para>The lfs-bootscripts package will be used throughout the <acronym>BLFS</acronym> 11 the book for startup scripts. Unlike <acronym>LFS</acronym>, each init script 12 has a seperate install target in the lfs-bootscrits package. 11 <sect3><title>Package information</title> 12 <itemizedlist spacing='compact'> 13 <listitem><para>Download: <ulink url="&blfs-bootscripts-download;"/></para></listitem> 14 </itemizedlist> 15 </sect3> 16 17 <para>The blfs-bootscripts package will be used throughout the <acronym>BLFS</acronym> 18 book for startup scripts. Unlike <acronym>LFS</acronym>, each init script 19 has a seperate install target in the blfs-bootscrits package. 13 20 It is recomended you keep the package 14 21 source directory around until completion of your 15 22 <acronym>BLFS</acronym> system. When a script is requested from 16 lfs-bootscritps, simply change to the directory and execute the given23 blfs-bootscritps, simply change to the directory and execute the given 17 24 <command>make install-<init-script></command> command. This command installs the 18 25 init script to its proper location (along with any auxillary configuration -
introduction/introduction.ent
rff3b4cd r34598ae 1 1 <!ENTITY introduction SYSTEM "introduction.xml"> 2 3 <!ENTITY blfs-bootscripts-version "2004-05-14"> 4 <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"> 2 5 3 6 <!ENTITY intro-welcome SYSTEM "welcome/welcome.xml"> -
introduction/welcome/changelog.xml
rff3b4cd r34598ae 11 11 12 12 <itemizedlist> 13 14 <listitem><para>May 15th, 2004 [tushar]: Genesis of the blfs-bootscripts 15 package.</para></listitem> 13 16 14 17 <listitem><para>May 13th, 2004 [tushar]: Improved which script as per -
postlfs/security/heimdal/heimdal-config.xml
rff3b4cd r34598ae 176 176 </para> 177 177 178 <!--179 178 <para>Install <filename>/etc/rc.d/init.d/heimdal</filename> init script 180 179 included in the <xref linkend="intro-important-bootscripts"/> … … 182 181 183 182 <screen><userinput><command>make install-heimdal</command></userinput></screen> 184 -->185 186 <para>187 To automate the running of Kerberos server and188 <command>kpasswdd</command> daemon, use the following command to create189 the init.d script:190 </para>191 192 <screen><userinput><command>cat >etc/rc.d/init.d/heimdal << "EOF"</command>193 #!/bin/sh194 # Begin $rc_base/init.d/heimdal195 196 # Based on sysklogd script from LFS-3.1 and earlier.197 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org198 # Heimdal bootscript submitted by Randy McMurchy <LFS-User_at_mcmurchy_dot_com>199 200 . /etc/sysconfig/rc201 . $rc_functions202 203 case "$1" in204 start)205 echo "Starting KDC Server Daemon..."206 if test -f "/var/run/kdc.pid"207 then208 print_status warning running209 else210 /usr/sbin/kdc &211 sleep 1212 if test -f "/var/run/kdc.pid"213 then214 print_status success215 else216 print_status failure217 fi218 fi219 echo "Starting KDC kpasswdd Daemon..."220 if test -f "/var/run/kpasswdd.pid"221 then222 print_status warning running223 else224 /usr/sbin/kpasswdd &225 sleep 1226 if test -f "/var/run/kpasswdd.pid"227 then228 print_status success229 else230 print_status failure231 fi232 fi233 ;;234 235 stop)236 echo "Stopping KDC kpasswdd Daemon..."237 killproc /usr/sbin/kpasswdd238 echo "Stopping KDC Server Daemon..."239 killproc /usr/sbin/kdc240 ;;241 242 restart)243 $0 stop244 sleep 1245 $0 start246 ;;247 248 status)249 statusproc /usr/sbin/kdc250 statusproc /usr/sbin/kpasswdd251 ;;252 253 *)254 echo "Usage: $0 {start|stop|restart|status}"255 exit 1256 ;;257 esac258 259 # End $rc_base/init.d/heimdal260 <command>EOF261 chmod 754 /etc/rc.d/init.d/heimdal</command></userinput></screen>262 263 <para>264 Create the symbolic links to this file in the relevant <filename265 class="directory">rc.d</filename> directory with the following commands:266 </para>267 268 <screen><userinput><command>cd /etc/rc.d/init.d &&269 ln -sf ../init.d/heimdal ../rc0.d/K42heimdal &&270 ln -sf ../init.d/heimdal ../rc1.d/K42heimdal &&271 ln -sf ../init.d/heimdal ../rc2.d/K42heimdal &&272 ln -sf ../init.d/heimdal ../rc3.d/S28heimdal &&273 ln -sf ../init.d/heimdal ../rc4.d/S28heimdal &&274 ln -sf ../init.d/heimdal ../rc5.d/S28heimdal &&275 ln -sf ../init.d/heimdal ../rc6.d/K42heimdal</command></userinput></screen>276 183 277 184 </sect4>
Note:
See TracChangeset
for help on using the changeset viewer.