Changeset 34598ae


Ignore:
Timestamp:
05/14/2004 06:52:08 AM (17 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 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, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
056970c5
Parents:
ff3b4cd
Message:

Added blfs-bootscripts-2004-05-15

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2157 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • index.xml

    rff3b4cd r34598ae  
    33                        "/usr/share/docbook/docbookx.dtd" [
    44
    5 <!ENTITY version "CVS-20040513">
    6 <!ENTITY releasedate "May 13th, 2004">
    7 <!ENTITY pubdate "2004-05-13">
     5<!ENTITY version "CVS-20040515">
     6<!ENTITY releasedate "May 15th, 2004">
     7<!ENTITY pubdate "2004-05-15">
    88<!ENTITY blfs-version "cvs">
    99
  • 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;">
    22<?dbhtml filename="bootscripts.html"?>
    3 <title><acronym>LFS</acronym> Boot Scripts</title>
     3<title><acronym>BLFS</acronym> Boot Scripts</title>
    44
    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
     6used throughout the book. It is assumed that you will be using the blfs-bootscripts
     7package in conjuction with a compatible lfs-bootscripts package.
    78Refer to <ulink url="&lfs-root;/chapter07/bootscripts.html"/> for more
    89information on the lfs-bootscripts package.</para>
    910
    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>
     18book for startup scripts.  Unlike <acronym>LFS</acronym>, each init script
     19has a seperate install target in the blfs-bootscrits package.
    1320It is recomended you keep the package
    1421source directory around until completion of your
    1522<acronym>BLFS</acronym> system.  When a script is requested from
    16 lfs-bootscritps, simply change to the directory and execute the given
     23blfs-bootscritps, simply change to the directory and execute the given
    1724<command>make install-&lt;init-script&gt;</command> command. This command installs the
    1825init script to its proper location (along with any auxillary configuration
  • introduction/introduction.ent

    rff3b4cd r34598ae  
    11<!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">
    25
    36<!ENTITY intro-welcome SYSTEM "welcome/welcome.xml">
  • introduction/welcome/changelog.xml

    rff3b4cd r34598ae  
    1111
    1212<itemizedlist>
     13
     14<listitem><para>May 15th, 2004 [tushar]: Genesis of the blfs-bootscripts
     15package.</para></listitem>
    1316
    1417<listitem><para>May 13th, 2004 [tushar]: Improved which script as per
  • postlfs/security/heimdal/heimdal-config.xml

    rff3b4cd r34598ae  
    176176</para>
    177177
    178 <!--
    179178<para>Install <filename>/etc/rc.d/init.d/heimdal</filename> init script
    180179included in the <xref linkend="intro-important-bootscripts"/>
     
    182181
    183182<screen><userinput><command>make install-heimdal</command></userinput></screen>
    184 -->
    185 
    186 <para>
    187 To automate the running of Kerberos server and
    188 <command>kpasswdd</command> daemon, use the following command to create
    189 the init.d script:
    190 </para>
    191 
    192 <screen><userinput><command>cat &gt;etc/rc.d/init.d/heimdal &lt;&lt; "EOF"</command>
    193 #!/bin/sh
    194 # Begin $rc_base/init.d/heimdal
    195 
    196 # Based on sysklogd script from LFS-3.1 and earlier.
    197 # Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
    198 # Heimdal bootscript submitted by Randy McMurchy &lt;LFS-User_at_mcmurchy_dot_com&gt;
    199 
    200 . /etc/sysconfig/rc
    201 . $rc_functions
    202 
    203 case "$1" in
    204         start) 
    205                 echo "Starting KDC Server Daemon..."
    206                 if test -f "/var/run/kdc.pid"
    207                 then
    208                         print_status warning running
    209                 else
    210                         /usr/sbin/kdc &amp;
    211                         sleep 1
    212                         if test -f "/var/run/kdc.pid"
    213                         then
    214                                 print_status success
    215                         else
    216                                 print_status failure
    217                         fi
    218                 fi
    219                 echo "Starting KDC kpasswdd Daemon..."
    220                 if test -f "/var/run/kpasswdd.pid"
    221                 then
    222                         print_status warning running
    223                 else
    224                         /usr/sbin/kpasswdd &amp;
    225                         sleep 1
    226                         if test -f "/var/run/kpasswdd.pid"
    227                         then
    228                                 print_status success
    229                         else
    230                                 print_status failure
    231                         fi
    232                 fi
    233                 ;;
    234 
    235         stop)   
    236                 echo "Stopping KDC kpasswdd Daemon..."
    237                 killproc /usr/sbin/kpasswdd
    238                 echo "Stopping KDC Server Daemon..."
    239                 killproc /usr/sbin/kdc
    240                 ;;
    241 
    242         restart)
    243                 $0 stop
    244                 sleep 1
    245                 $0 start
    246                 ;;
    247 
    248         status)
    249                 statusproc /usr/sbin/kdc
    250                 statusproc /usr/sbin/kpasswdd
    251                 ;;
    252 
    253         *)
    254                 echo "Usage: $0 {start|stop|restart|status}"
    255                 exit 1
    256                 ;;
    257 esac
    258 
    259 # End $rc_base/init.d/heimdal
    260 <command>EOF
    261 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 <filename
    265 class="directory">rc.d</filename> directory with the following commands:
    266 </para>
    267 
    268 <screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    269 ln -sf ../init.d/heimdal ../rc0.d/K42heimdal &amp;&amp;
    270 ln -sf ../init.d/heimdal ../rc1.d/K42heimdal &amp;&amp;
    271 ln -sf ../init.d/heimdal ../rc2.d/K42heimdal &amp;&amp;
    272 ln -sf ../init.d/heimdal ../rc3.d/S28heimdal &amp;&amp;
    273 ln -sf ../init.d/heimdal ../rc4.d/S28heimdal &amp;&amp;
    274 ln -sf ../init.d/heimdal ../rc5.d/S28heimdal &amp;&amp;
    275 ln -sf ../init.d/heimdal ../rc6.d/K42heimdal</command></userinput></screen>
    276183
    277184</sect4>
Note: See TracChangeset for help on using the changeset viewer.