Index: content/web/apache/apache-config.xml
===================================================================
--- content/web/apache/apache-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ content/web/apache/apache-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -22,56 +22,8 @@
 server.</para>
 
-<para>To automate the running of Apache, use the following command to
-create the init.d script:</para>
-
-<screen><userinput><command>cat &gt; /etc/rc.d/init.d/apache &lt;&lt; "EOF"</command>
-#!/bin/sh
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-        start)
-                echo "Starting Apache daemon..."
-                /usr/sbin/apachectl -k start
-                evaluate_retval
-                ;;
-
-        stop)
-                echo "Stopping Apache daemon..."
-                /usr/sbin/apachectl -k stop
-                evaluate_retval
-                ;;
-
-        restart)
-                echo "Restarting Apache daemon..."
-                /usr/sbin/apachectl -k restart
-                evaluate_retval
-                ;;
-
-        status)
-                statusproc /usr/sbin/httpd
-                ;;
-                
-        *)
-                echo "Usage: $0 {start|stop|restart|status}"
-                exit 1
-                ;;
-esac
-<command>EOF
-chmod 755 /etc/rc.d/init.d/apache</command></userinput></screen>
-
-<para>Create the symbolic links to this file in the relevant
-<filename class="directory">rc.d</filename> directory
-with the following commands:</para>
-
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/apache ../rc0.d/K28apache &amp;&amp;
-ln -sf ../init.d/apache ../rc1.d/K28apache &amp;&amp;
-ln -sf ../init.d/apache ../rc2.d/K28apache &amp;&amp;
-ln -sf ../init.d/apache ../rc3.d/S32apache &amp;&amp;
-ln -sf ../init.d/apache ../rc4.d/S32apache &amp;&amp;
-ln -sf ../init.d/apache ../rc5.d/S32apache &amp;&amp;
-ln -sf ../init.d/apache ../rc6.d/K28apache</command></userinput></screen>
+<para>Install <filename>/etc/rc.d/init.d/apache</filename>
+init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
+                                                                                                                
+<screen><userinput><command>make install-apache</command></userinput></screen>
 
 </sect3>
Index: content/web/apache/apache-exp.xml
===================================================================
--- content/web/apache/apache-exp.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ content/web/apache/apache-exp.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -2,4 +2,7 @@
 <title>Command explanations</title>
 
+<para><parameter>--with-expat=/usr</parameter>: Uses system installed
+expat. <emphasis>If you have installed expat and do not use this switch, the
+apache installation may overwrite some files from the expat installation.</emphasis></para>
 <para><parameter>--enable-mods-shared=all</parameter>: We want modules
 to be compiled and used as Dynamic Shared Objects
Index: content/web/apache/apache-intro.xml
===================================================================
--- content/web/apache/apache-intro.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ content/web/apache/apache-intro.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -25,5 +25,5 @@
 <sect4><title>Optional</title>
 <para><xref linkend="db"/> or <xref linkend="gdbm"/>, <xref linkend="openssl"/>, <xref
-linkend="openldap"/> and <xref linkend="lynx"/>
+linkend="openldap"/> <xref linkend="expat"/> and <xref linkend="lynx"/>
 </para></sect4>
 </sect3>
Index: content/web/proftpd/proftpd-config.xml
===================================================================
--- content/web/proftpd/proftpd-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ content/web/proftpd/proftpd-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -1,4 +1,12 @@
 <sect2>
 <title>Configuring <application>ProFTPD</application></title>
+
+<sect3><title>proftpd init.d script</title>
+<para>Install <filename>/etc/rc.d/init.d/proftpd</filename>
+init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
+                                                                                                                
+<screen><userinput><command>make install-proftpd</command></userinput></screen>
+
+</sect3>
 
 <sect3><title>Config files</title>
@@ -64,65 +72,3 @@
 
 
-<sect3><title>proftpd init.d script</title>
-
-<screen><userinput><command>cat &gt; /etc/rc.d/init.d/proftpd &lt;&lt; "EOF"</command>
-#!/bin/sh
-# Begin $rc_base/init.d/proftpd
-
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-        start)
-                echo "Starting FTP Server..."
-                loadproc /usr/sbin/proftpd
-                ;;
-
-        stop)
-                echo "Stopping FTP Server..."
-                killproc /usr/sbin/proftpd
-                ;;
-
-        reload)
-                echo "Reloading FTP Server..."
-                reloadproc /usr/sbin/proftpd
-                ;;
-
-        restart)
-                $0 stop
-                sleep 1
-                $0 start
-                ;;
-
-        status)
-                statusproc /usr/sbin/proftpd
-                ;;
-
-        *)
-                echo "Usage: $0 {start|stop|reload|restart|status}"
-                exit 1
-                ;;
-esac
-
-# End $rc_base/init.d/proftpd
-<command>EOF
-chmod 755 /etc/rc.d/init.d/proftpd</command></userinput></screen>
-
-<para>Create the symbolic links to this file in the relevant <filename
-class="directory">rc.d</filename> directories with the following
-commands:</para>
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/proftpd ../rc0.d/K28proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc1.d/K28proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc2.d/K28proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc3.d/S32proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc4.d/S32proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc5.d/S32proftpd &amp;&amp;
-ln -sf ../init.d/proftpd ../rc6.d/K28proftpd</command></userinput></screen>
-
-</sect3>
-
 </sect2>
Index: gnome/other/gdm/gdm-config.xml
===================================================================
--- gnome/other/gdm/gdm-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ gnome/other/gdm/gdm-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -29,62 +29,8 @@
 <para><command>gdm</command> can be tested by executing it from a root console.</para>
 
-<para>To automate the running of <command>gdm</command>, use the following command to
-create the init.d script if your
-GNOME_PREFIX=/opt/gnome-&gnome-version;.  The fully qualified paths can
-be removed for GNOME_PREFIX=/usr:</para>
-<screen><userinput><command>cat &gt; /etc/rc.d/init.d/gdm &lt;&lt; "EOF"</command>
-#!/bin/sh
-# Begin $rc_base/init.d/gdm
+<para>To start a graphical login at boot, install <filename>/etc/rc.d/init.d/gdm</filename>
+init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
 
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-        start)
-                echo "Starting GDM..."
-                loadproc /opt/gnome-&gnome-version;/bin/gdm
-                ;;
-
-        stop)
-                echo "Stopping GDM..."
-		if [ -f /var/run/gdm.pid ]; then
-                loadproc /opt/gnome-&gnome-version;/sbin/gdm-stop
-		fi
-                ;;
-
-        reload)
-                echo "Reloading GDM..."
-                reloadproc /opt/gnome-&gnome-version;/sbin/gdm-safe-restart
-                ;;
-
-        restart)
-                echo "Restarting GDM..."
-		loadproc /opt/gnome-&gnome-version;/sbin/gdm-restart
-                ;;
-
-        *)
-                echo "Usage: $0 {start|stop|reload|restart}"
-                exit 1
-                ;;
-esac
-
-# End $rc_base/init.d/gdm
-<command>EOF
-chmod 755 /etc/rc.d/init.d/gdm</command></userinput></screen>
-
-<para>Create the symbolic links to this file in the relevant
-<filename>rc.d</filename>
-directory with the following commands:</para>
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/gdm ../rc0.d/K05gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc1.d/K05gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc2.d/K05gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc3.d/K05gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc4.d/K05gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc5.d/S95gdm &amp;&amp;
-ln -sf ../init.d/gdm ../rc6.d/K05gdm</command></userinput></screen>
+<screen><userinput><command>make install-gdm</command></userinput></screen>
 
 <para>To autostart with a graphical login, edit
Index: index.xml
===================================================================
--- index.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ index.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -3,6 +3,6 @@
 			"/usr/share/docbook/docbookx.dtd" [
 
-<!ENTITY version "CVS-20040327">
-<!ENTITY releasedate "March 27th, 2004">
+<!ENTITY version "CVS-20040328">
+<!ENTITY releasedate "March 28th, 2004">
 <!ENTITY blfs-version "cvs">
 
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ introduction/welcome/changelog.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -13,4 +13,5 @@
 
 <listitem><para>March 27th, 2004 [tushar]: Updated mysql, postgresql, bind, dhcp
+apache, proftpd, gdm, alsa, cups, lprng, xfree86,
 openssh, rsync, samba and xinetd to use lfs-bootscripts for init scripts.</para></listitem>
 
Index: multimedia/libdriv/alsa/utils/alsa-utils-config.xml
===================================================================
--- multimedia/libdriv/alsa/utils/alsa-utils-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ multimedia/libdriv/alsa/utils/alsa-utils-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -19,62 +19,9 @@
 installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>.  While it 
 is possible to use this script, it contains a lot of extraneous detail which 
-isn't needed on an <acronym>LFS</acronym> system and so we create our own 
-script <filename>/etc/rc.d/init.d/alsa</filename>.</para>
+isn't needed on an <acronym>LFS</acronym> system and so we install the init
+script <filename>/etc/rc.d/init.d/alsa</filename> included in the 
+<xref linkend="intro-important-bootscripts"/> package.</para>
 
-<para>To create the <application><acronym>ALSA</acronym></application> script, do the following:</para>
-
-<screen><userinput><command>cat &gt; /etc/rc.d/init.d/alsa &lt;&lt; "EOF"</command>
-#!/bin/sh
-# Begin $rc_base/init.d/alsa
-
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
-# ALSA specific parts by Mark Hymers - markh@linuxfromscratch.org
-# Stores mixer settings in the default location: /etc/asound.state
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-    start)
-        echo "Starting ALSA...    Restoring volumes..."
-        loadproc /usr/sbin/alsactl restore
-        #echo "                    Loading MIDI font..."
-        #loadproc sfxload /path/to/soundfont
-        ;;
-
-    stop)
-        echo "Stopping ALSA...    Saving volumes......"
-        loadproc /usr/sbin/alsactl store
-        #echo "            Removing MIDI font.........."
-        #loadproc sfxload -i
-        ;;
-
-    restart)
-        $0 stop
-        /bin/sleep 1
-        $0 start
-        ;;
-
-    *)
-        echo "Usage: $0 {start|stop|restart}"
-        exit 1
-        ;;
-
-esac
-
-# End $rc_base/init.d/alsa
-<command>EOF
-chmod 755 /etc/rc.d/init.d/alsa</command></userinput></screen>
-
-<para>You can then create the appropriate symlinks:</para>
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/alsa ../rc0.d/K35alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc1.d/K35alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc2.d/S40alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc3.d/S40alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc4.d/S40alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc5.d/S40alsa &amp;&amp;
-ln -sf ../init.d/alsa ../rc6.d/K35alsa</command></userinput></screen>
+<screen><userinput><command>make install-alsa</command></userinput></screen>
 
 <para>Note that all channels of your soundcard are muted by default. You can
Index: multimedia/libdriv/libdriv.xml
===================================================================
--- multimedia/libdriv/libdriv.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ multimedia/libdriv/libdriv.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -25,6 +25,6 @@
 &id3lib;
 &flac;
+&libdvdcss;
 &libdvdread;
-&libdvdcss;
 &libdv;
 &liba52;
Index: pst/printing/cups/cups-config.xml
===================================================================
--- pst/printing/cups/cups-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ pst/printing/cups/cups-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -21,61 +21,8 @@
 created the startup file <filename>/etc/rc.d/init.d/cups</filename>. The file 
 works, but you may want to change it to a more conventional <acronym>LFS
-</acronym> startup file:</para>
+</acronym> startup file by installing the script included in the
+<xref linkend="intro-important-bootscripts"/> package:</para>
 
-<screen><userinput><command>cat &gt; /etc/rc.d/init.d/cups &lt;&lt; "EOF"</command>
-#!/bin/sh
-# Begin $rc_base/init.d/cups
-
-# Start or stop the CUPS server based upon the first argument to the script.
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case $1 in
-    start)
-           echo "Starting CUPS Printserver..."
-           loadproc /usr/sbin/cupsd
-           ;;
-    stop)
-           echo "Stopping CUPS Printserver..."
-           killproc cupsd
-           ;;
-
-    reload)
-           echo "Reloading CUPS Printserver..."
-           reloadproc /usr/sbin/cupsd
-           ;;
-
-    restart)
-           $0 stop
-           sleep 1
-           $0 start
-           ;;
-
-    status)
-           statusproc cupsd
-           ;;
-
-    *)
-           echo "Usage: $0 {start|stop|reload|restart|status}"
-           exit 1
-           ;;
-esac
-
-# End $rc_base/init.d/cups startup script.
-<command>EOF</command></userinput></screen>
-
-<para>Create the symbolic links to this file in the relevant
-<filename class="directory">rc.d</filename> directory
-with the following commands:</para>
-
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/cups ../rc0.d/K00cups &amp;&amp;
-ln -sf ../init.d/cups ../rc1.d/K00cups &amp;&amp;
-ln -sf ../init.d/cups ../rc2.d/S99cups &amp;&amp;
-ln -sf ../init.d/cups ../rc3.d/S99cups &amp;&amp;
-ln -sf ../init.d/cups ../rc4.d/S99cups &amp;&amp;
-ln -sf ../init.d/cups ../rc5.d/S99cups &amp;&amp;
-ln -sf ../init.d/cups ../rc6.d/K00cups</command></userinput></screen>
+<screen><userinput><command>make install-cups</command></userinput></screen>
 
 </sect2>
Index: pst/printing/lprng/lprng-config.xml
===================================================================
--- pst/printing/lprng/lprng-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ pst/printing/lprng/lprng-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -16,65 +16,9 @@
 
 <para>The init script installed by <application>LPRng</application> is not 
-consistent with <acronym>BLFS</acronym> scripts; therefore, we will create a 
-new one with the following commands:</para>
+consistent with other <acronym>BLFS</acronym> scripts; therefore, we will install
+<filename>/etc/rc.d/init.d/lprng</filename>
+init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
 
-<screen><userinput><command>mv /etc/rc.d/init.d/lpd /etc/rc.d/init.d/lpd.orig &amp;&amp;
-cat &gt; /etc/rc.d/init.d/lpd &lt;&lt; "EOF"</command>
-#!/bin/sh
-# Begin $rc_base/init.d/lpd
-
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-        start)
-                echo "Starting lpd..."
-                loadproc /usr/sbin/lpd
-                ;;
-
-        stop)
-                echo "Stopping lpd..."
-                killproc /usr/sbin/lpd
-                ;;
-
-        reload)
-                echo "Reloading lpd..."
-                reloadproc /usr/sbin/lpd
-                ;;
-
-        restart)
-                $0 stop
-                sleep 1
-                $0 start
-                ;;
-
-        status)
-                statusproc /usr/sbin/lpd
-                ;;
-
-        *)
-                echo "Usage: $0 {start|stop|reload|restart|status}"
-                exit 1
-                ;;
-esac
-
-# End $rc_base/init.d/lpd
-<command>EOF
-chmod 755 /etc/rc.d/init.d/lpd</command></userinput></screen>
-
-<para>Create the symbolic links to the lprng init script in the relevant
-<filename>rc.d</filename> directories with the following
-commands:</para>
-<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
-ln -sf ../init.d/lpd ../rc0.d/K00lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc1.d/K00lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc2.d/S99lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc3.d/S99lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc4.d/S99lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc5.d/S99lprng &amp;&amp;
-ln -sf ../init.d/lpd ../rc6.d/K00lprng</command></userinput></screen>
+<screen><userinput><command>make install-lprng</command></userinput></screen>
 
 </sect3>
Index: x/installing/xfree86/xfree86-config.xml
===================================================================
--- x/installing/xfree86/xfree86-config.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ x/installing/xfree86/xfree86-config.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -92,17 +92,16 @@
 <note>
 
-<para>When starting up, <application>XFree86</application> creates the directory
+<para>When needed, <application>XFree86</application> creates the directory
 <filename>/tmp/.ICE-unix</filename> if it does not exist. If this directory is
 not owned by root, <application>XFree86</application> delays startup by a few seconds
 and also appends a warning to the logfile. This also affects startup of other
-applications. To improve performance, perform the following steps as root before
-starting <application>XFree86</application> for the first time. Additionally, if you 
-use tmpfs or clean out all the files in <filename>/tmp</filename> when you boot, 
-we recommend adding the same instructions to the end of your
+applications. To improve performance, it is advisable to manually create the directory
+before XFree86 uses it. Add the file creation to <filename>/etc/sysconfig/createfiles</filename>
+that is sourced by the
 <filename>/etc/rc.d/init.d/cleanfs</filename> startup script.</para>
 
-<screen><userinput>rm -rf /tmp/.ICE-unix &amp;&amp;
-mkdir /tmp/.ICE-unix &amp;&amp;
-chmod 1777 /tmp/.ICE-unix</userinput></screen>
+<screen><userinput><command>cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"</command>
+dir root root 1777 /tmp/.ICE-unix
+<command>EOF</command></userinput></screen>
 
 </note>
Index: xsoft/other/thunderbird/thunderbird-inst.xml
===================================================================
--- xsoft/other/thunderbird/thunderbird-inst.xml	(revision ae9c5281f1d0ab30149a363b4bca305f13aee0d0)
+++ xsoft/other/thunderbird/thunderbird-inst.xml	(revision fe88f5841ac48c84da0200f3ecb07827a1b25b64)
@@ -2,7 +2,10 @@
 <title>Installation of <application>Mozilla Thunderbird</application></title>
 
-<warning><para>The current source tarball uses CRLF line-ending (DOS Format). This causes
+<warning>
+<para>The current source tarball uses CRLF line-ending (DOS Format). This causes
 problems during the compilation. Once you extract the tarball, convert the files
-to UNIX style line endings using <xref linkend="hd2u"/>.</para></warning>
+to UNIX style line endings using <xref linkend="hd2u"/>.</para>
+<screen><userinput><command>find -type f -print0 | xargs -0 dos2unix --d2u</command></userinput></screen>
+</warning>
 
 <para>The configuration of <application>Mozilla Thunderbird</application> is
