Index: bootscripts/CHANGELOG.blfs
===================================================================
--- bootscripts/CHANGELOG.blfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/CHANGELOG.blfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,209 @@
+2007-08-22 DJ Lucas <dj@linuxfromscratch.org>
+	* Updated the dhcpcd service script to comply with dhcpcd-3.0.19+.
+
+2007-07-09 Dan Nicholson <dnicholson@linuxfromscratch.org>
+	* Updated the D-Bus bootscript to call dbus-uuidgen on start and
+	  use the system pid file.
+
+2007-07-08 Randy McMurchy <randy@linuxfromscratch.org>
+	* Update the CUPS section of the Makefile to remove the proper
+	  files (upstream changed the S/K naming)
+
+2007-06-20 Dan Nicholson <dnicholson@linuxfromscratch.org>
+	* Update lease info path for dhcpcd-3.x.
+
+2007-06-20 Dan Nicholson <dnicholson@linuxfromscratch.org>
+	* Use proper references for the pid and lease files in the dhcpcd
+	  service script.
+
+2006-10-11 Dan Nicholson <dnicholson@linuxfromscratch.org>
+	* Fixed gpm boot script to accept multiple arguments in the
+	  variables, particularly GPMOPTS. Thanks to Christoph Felkes
+	  for supplying the fix.
+
+2006-06-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated the openldap and nfs-server scripts to pass appropriate
+	  signals to the stop functions.  This change was due to changes
+	  in the LFS functions script on 2/06/05!
+
+2006-06-24 Randy McMurchy <randy@linuxfromscratch.org>
+	* Updated the HAL script to work with HAL-0.5.7
+
+2006-06-23 Randy McMurchy <randy@linuxfromscratch.org>
+	* Updated the GDM script to the 2.14.2 version of GNOME
+
+2006-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated bind to refer to /srv/named
+
+2006-04-30 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added a command to delete a pid file that the NFS server
+	  leaves behind
+
+2006-04-27 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Changed autofs order number to 52 so it will be run after cleanfs
+
+2006-04-23 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Added qpopper initailization script and updated the Makefile
+
+2006-04-15 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated the ssh shutdown script to wait one second before setting OOM value
+
+2006-04-11 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated the netfs shutdown script to avoid errors with multiple entries
+
+2006-04-11 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated the sshd script to prevent killing ssh in Out Of Memory conditions
+
+2006-02-05 Randy McMurchy <randy@linuxfromscratch.org>
+	* Updated the GDM script to the 2.12.2 version of GNOME
+
+2006-01-01 Randy McMurchy <randy@linuxfromscratch.org>
+	* Changed the name of the D-BUS pid file that is removed
+
+2005-11-21 Randy McMurchy <randy@linuxfromscratch.org>
+	* Removed the --compress parameter from the RSync bootscript
+
+2005-10-17 Randy McMurchy <randy@linuxfromscratch.org>
+	* Updated the GDM script to the 2.12 version of GNOME
+
+2005-10-01 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added HAL init script and updated Makefile to include a HAL target
+
+2005-09-26 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added D-BUS init script and updated Makefile to include a D-BUS
+	  target
+
+2005-09-10 Igor Zivkovic <igor@linuxfromscratch.org>
+	* Updated PPPoE service script to use the new command names.
+
+2005-07-31 DJ Lucas <dj@linuxfromscratch.org>
+	* Removed courier bootscript.
+	* Removed start and restart sections of alsa bootscript.
+	* Added missing echo in mysql script.
+	* Reordered bootscripts for samba/cups interaction.
+
+2005-07-08 DJ Lucas <dj@linuxfromscratch.org>
+	* Moved all scripts to use new functions provided by 
+	  lfs-bootscripts-3.2.1.
+
+2005-06-26 DJ Lucas <dj@linuxfromscratch.org>
+	* Added uninstall targets to Makefile.  Patch provided by 
+	  Matthias Berndt.
+
+2005-06-13 Igor Zivkovic <igor@linuxfromscratch.org>
+	* Corrected the MySQL script to make it compatible with the new LFS
+	  boot scripts (Jay D. McHugh).
+
+2005-05-31 Randy McMurchy <randy@linuxfromscratch.org>
+	* Removed explicit path from GDM script commands so that the commands
+	  will work no matter where $GNOME_PREFIX is.
+
+2005-05-30 Randy McMurchy <randy@linuxfromscratch.org>
+	* Updated GDM script to GNOME-2.10.
+
+2005-05-09 Igor Zivkovic <igor@linuxfromscratch.org>
+	* Added a killproc parameter to mysql (Nathan Coulson).
+
+2005-03-13 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Updated openldap1 and openldap2 to check for running
+	  daemons before starting.
+
+2005-03-13 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+	* Added iptables initialization script.
+
+2005-03-02 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added 'status' option to portmap bootscript.
+
+2005-01-02 DJ Lucas <dj@linuxfromscratch.org>
+	* Added courier bootscript.
+
+2004-12-27 Randy McMurchy <randy@linuxfromscratch.org>
+	* Changed Exim bootscript to start the daemon with -q15m instead
+	  of -q1m.
+
+2004-11-21 Igor Zivkovic <igor@linuxfromscratch.org>
+	* Removed setclock symlinks at install-ntp target and added a
+	  substitute command in the book.
+
+2004-10-27 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added new bootscript for Stunnel.
+
+2004-10-23 Randy McMurchy <randy@linuxfromscratch.org>
+	* Modified PostgreSQL script because the pg_ctl script
+	  is no longer able to run as user root.
+
+2004-10-20 DJ Lucas <dj@linuxfromscratch.org>
+	* Added ability to print assigned addresses when using
+	  dhcpcd service script.
+
+2004-10-13 Igor Zivkovic <igor@linuxfromscratch.org>
+	* Added ntpd -gqx to ntp bootscript start case to set
+	  the initial time (Thomas Trepl)
+	* Added setclock stop symlinks to runlevels 0, 1, 2
+	  and 6 on install-ntp target to write the system time
+	  back to hardware clock (Jeremy Utley)
+
+2004-10-11 DJ Lucas <dj@linuxfromscratch.org>
+	* Fixed multiple errors in nfs-server bootscript
+	* Removed lockd from nfs-client bootscript
+	* Added svn keywords to remaining bootscripts
+
+2004-10-02 DJ Lucas <dj@linuxfromscratch.org>
+	* Changed all scripts to use full path names
+
+2004-09-28 DJ Lucas <dj@linuxfromscratch.org>
+	* Replaced nfs-server and nfs-client scripts
+	* Adjusted mysql and winbind scripts to use PIDFILE
+	* Added svn keywords to remaining bootscripts
+
+2004-08-26 Randy McMurchy <randy@linuxfromscratch.org>
+	* Removed usb script (suggested by Alexander Patrakov)
+
+2004-08-06 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added openldap (slapd and slurpd startup) scripts
+
+2004-08-05 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added cyrus-sasl (Cyrus SASL authdaemon) script 
+
+2004-08-03 DJ Lucas <dj@linuxfromscratch.org>
+	* Added MODE and DIRMODE variables to set 
+	  permissions of installed scripts and 
+	  directories
+	* Corrected script to remove svn directories
+	  when creating release tarball
+
+2004-07-31 Randy McMurchy <randy@linuxfromscratch.org>
+	* Added nas (Network Audio Server) script 
+
+2004-07-28 DJ Lucas <dj@linuxfromscratch.org>
+	* Made minor fixups to dhcpcd, dhclient, and ipx 
+	  service scripts
+	* Added a shell script to create tarball
+
+2004-07-28 Randy McMurchy <randy@linuxfromscratch.org>
+	* Changed location of PID file in mysql script
+
+2004-07-21 DJ Lucas <dj@linuxfromscratch.org>
+	* Changed vsftpd bootscript to use loadproc
+
+2004-07-19 DJ Lucas <dj@linuxfromscratch.org>
+	* Added svn and vsftpd scripts
+
+2004-06-27 DJ Lucas <dj@linuxfromscratch.org>
+	* Added sysstat bootscript
+	* Fixed missing $EXTDIR targets in Makefile
+
+2004-06-16 DJ Lucas <dj@linuxfromscratch.org>
+	* Added GPMOPTS to gpm script
+	* wrapped all gpm variables in quotes
+
+2004-05-22 Tushar T <tushar@linuxfromscratch.org>
+	* Added winbind script
+
+2004-05-14 Tushar T <tushar@linuxfromscratch.org>
+	* Added init.d/kerberos script
+	* Added init.d/usb script
+
+2004-05-13 Tushar T <tushar@linuxfromscratch.org>
+	* The begining of blfs-bootscripts
+
Index: bootscripts/CHANGELOG.lfs
===================================================================
--- bootscripts/CHANGELOG.lfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/CHANGELOG.lfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,791 @@
+n/a - September 11, 2005
+	* Removed text wraping and boot logging.
+	* Changed killproc to use warning if not running
+	* Changed 'print_status warning' to use old style output
+	* Fixed display error with LSB init-functions script
+	* Made above killproc/print_status changes in enhanced
+	  bootscripts.
+	* Made logger service configurable in enhanced 
+	  bootscripts. (DJ Lucas)
+
+n/a - August 14, 2005
+	* Added -s flag to pidofproc() for backwards 
+	  compatibility (DJ Lucas)
+	* Fixed erronous values returned by pidofproc() which 
+	  broke the functionality of statusproc (DJ Lucas)
+
+n/a - July 1, 2005
+	* Changed a == to a = in lfs/init.d/functions, in the boot_mesg
+	  function for ash compliancy (Nathan Coulson)
+
+n/a - June 26, 2005
+	* Removed consolelog script from contrib 
+	* Updated interactive rc script in contrib and added 
+	  README.rc-Interactive, added install target to the
+	  Makefile. (DJ Lucas)
+
+3.2.2 - May 29, 2005
+	* Tagged as 3.2.2 (Nathan Coulson)
+
+n/a - May 26, 2005
+	* Added minimal target for cross-lfs book (Jim Gifford)
+	* Fixed raq2 patch (Jim Gifford)
+
+3.2.1 - May 1, 2005
+	* Tagged as 3.2.1 (Nathan Coulson)
+
+n/a - April 17, 2005
+	* removed touch from hotplug bootscript (Matthew Burgess)
+	* moved commands around in localnet bootscript (Andrew Benton)
+
+3.2.0 - March 30, 2005
+	* Changed from syslog-ng to sysklogd (Archaic)
+	* Temporairly changed loadproc to return 0 if the program is
+	  already running (Nathan Coulson)
+	* Fixed (by reverting) ifup/ifdown/network (Nathan Coulson),
+	  Reported by Jim Gifford
+	* Fixed network up/down along with adding support of ONHOTPLUG
+	* Tagged as 3.2.0
+
+n/a - March 19, 2005
+	* Updated RaQ2 patch (Jim Gifford)
+	* Added net.agent for Hotplug of Network adapters in contrib
+	  (Jim Gifford)
+
+n/a - March 16, 2005
+	* Reverted the change from loadproc to start_daemon,
+	  Moved compatibility code into one single function.
+	  (Nathan Coulson)
+	* Readded the ONHOTPLUG option for ifup/ifdown (Nathan Coulson)
+	* Fixed killproc's output
+
+n/a - March 01, 2005
+	* Added CHECK_LINK variable in ifconfig.*/*, so if the
+	  interface does not exist, it will not fail.
+	  (Nathan Coulson)
+
+n/a - February 19, 2005
+	* Added evaluate_retval to the end of loadproc and killproc.
+	  lsb does not say that killproc should print [  OK  ],
+	  but required for compatibility.  (Nathan Coulson)
+
+n/a - February 9, 2005
+	* Accidently mounted /dev with 775 instead of 755, fixed
+	  (Reported by Alexander E. Patrakov)
+
+n/a - February 9, 2005
+	* Bugfix for /dev, now mounted with 755 permission
+
+n/a - February 8, 2005
+	* changed pidof, so it doesnt check the process id
+	  of running bootscripts, and to process shell scripts
+	  (Nathan Coulson)
+
+n/a - February 6, 2005
+	* Updated main functions file with lsb functions file
+	  Should now be LSB compliant (Nathan Coulson)
+
+n/a - January 10, 2005
+	* Moved ONBOOT check back to network (Nathan Coulson)
+	* Removed ONHOTPLUG check (Nathan Coulson)
+
+n/a - January 6, 2005
+	* fixed mountkernfs output (Nathan Coulson)
+	* reverted mountfs fakemounting (Nathan Coulson)
+
+n/a - January 5, 2005
+	* Attempted to simplify network bootup files (Nathan Coulson)
+	* Modified mountkernfs to use mountpoint (Nathan Coulson)
+	* Assuming sysfs is always mounted (Nathan Coulson)
+	* Moved fakemount to below mounting (Nathan Coulson)
+	* Removed -t noramfs from umount, as we now use tmpfs (Nathan Coulson)
+	* moved sysctl from mountkernfs to sysctl (Nathan Coulson)
+	* Added -q to sysctl (Nathan Coulson)
+
+n/a - January 2, 2005
+	* Fixed statusproc output. (DJ Lucas)
+
+3.1.0 - December 31, 2004
+	* fixed textoutput
+	* Tagged as 3.1.0
+
+n/a - December 30, 2004
+	* Fixed name of LSB Functions file
+	* Changed boot_mesg to act like echo instead of echo -n, boot_mesg now
+	  takes the -n argument if you do not wish to goto the next line
+
+3.0.1 - December 25, 2004
+	* Released as 3.0.1
+
+n/a - December 20, 2004
+	* Cleaned up header.
+	* Added RaQ2 Patch
+
+n/a - December 16, 2004
+	* Fixed a text typo in udev, tmpfs instead of ramfs (Steve Crosby)
+
+n/a - December 14, 2004
+	* Fixed a warning with find in cleanfs
+
+
+3.0 - December 8, 2004
+
+n/a - December 5, 2004
+	* Moved bootlog to use local2 service to avoide conflict with
+	  dhcpcd (DJ Lucas)
+
+3.0-rc1 - December 1, 2004
+	* rc-Interactive added (DJ Lucas)
+	* rc-Interactive moved to contrib (Nathan Coulson)
+
+n/a - November 27, 2004
+	* Moved bootlog to use local1 to avoid conflict with ppd (DJ Lucas)
+
+n/a - November 25, 2004
+	* Added consolelog to contrib/sysconfig (DJ Lucas)
+	* Rewrite of line wraping in boot_mesg and various fixes
+	  related to boot_mesg changes (DJ Lucas, Alexander Patrakov)
+	* syslog-ng is now installed by default (Jeremy Utley)
+	* hotplug is now installed by default (Jeremy Utley)
+	* udev now uses /sbin/hotplug as the default hotplug handler (Nathan Coulson)
+	* udev now mounts a tmpfs instead of a ramfs onto /dev,
+	  as suggested by Greg K-H (Nathan Coulson)
+	* Created contrib/lsb, and added a LSB compliant functions file
+	  (Nathan Coulson, and Alexander Patrakov)
+	* Modified find [requires find 4.2.3+] (Matthew Burgess)
+
+n/a - November 20, 2004
+	* Modifed modules script to return to previous kernel message
+	  level (DJ Lucas)
+
+n/a - November 02, 2004
+	* Added sysctl -p to mountkernfs (Matthew Burgess, DJ Lucas)
+
+n/a - October 07, 2004
+	* statusproc modified not to send data to bootlog (Nathan Coulson)
+	* Fixed halt commands in checkfs and udev (James Robertson)
+
+n/a - October 04, 2004
+	* Fixes to commit on 2004/09/30 (James Robertson)
+	* Revert a few changes until later (Nathan Coulson)
+	* Added a warning about switching from a 8bit font
+	  to a 9bit font (Alexander Patrakov)
+
+n/a - September 30, 2004
+	* Finished off boot_mesg() (James Robertson)
+	* Standardized all scripts to same variable format and other
+	  internal sh/bash function calls (James Robertson)
+	* Fully implemented boot_mesg across all scripts in sysconfig
+	  and init.d (James Robertson)
+
+n/a - September 26, 2004
+	* Added BOOTMESG_PREFIX variable, so users can optionally set a
+	  prefix for boot messages (James Robertson)
+	* Fixed localnet status, to use ip instead of ifconfig (Jim Gifford)
+	* Added consolelog to contrib (DJ Lucas)
+	* loadproc and killproc can have the -nomsg parameter to avoid
+	  calling evaluate_retval or print_status (Jim Gifford)
+	* boot_mesg no longer explicitly adds a \n onto end of lines
+	* Added a function called boot_mesg_flush, which can
+	  dump the BOOTMESG to the bootlog.  This helps avoid making
+	  everything have to end in OK/WARN/FAIL (Nathan Coulson)
+
+n/a - September 24, 2004
+	* Removed /dev/udev.tdb test
+
+n/a - September 23, 2004
+	* Fixed boot_log so it output's $@'s contents, not @$
+	* Added support for colors in boot_mesg (James Robertson)
+	* Modified udev's error checking
+	* Modified hotplug's error checking
+	* Converted checkfs's error handling to use boot_mesg with
+	  color support
+	* Added $INFO color to functions (James Robertson)
+
+n/a - September 22, 2004
+	* Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
+	* Fixed getpids, to remove unused pids obtained from $PIDFILE
+	* Removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed
+	   space added to each additional sentence tacked onto BOOTMESG
+	* boot_mesg now handles \n's properly, and does not dimish the size of
+	  the next line (James Robertson)
+	* boot_log has been added.  The echo_ functions commit the log,
+	  and then clear the BOOTMSG variable
+	* All scriptes have been converted to use boot_mesg
+
+n/a - September 21, 2004
+	* boot_mesg has been enhanced.  Subsequent calls will overwrite previous
+	  text, and it will wrap text basedupon the variable ${WCOL}. 
+	  (James Robertson)
+	* Fixed mtu optional service typo (Kevin P Fleming)
+	* Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
+
+n/a - September 16, 2004
+	* nework interfaces are now brought down in reverse order
+
+n/a - September 15, 2004
+	* Added blue bracket, from dj's 3.0-pre1 bootscript package 
+	  [echo_failure, echo_warning, and echo_ok]
+	* Added a new function called boot_mesg, meant to replace the echo
+	  command.
+	  This will give us the posibility of doing logging at a later date
+	* Do not set COLUMNS if COLUMNS is already set
+	* Modified getpids, loadproc, killproc, reloadproc, and statusproc as
+	  done by DJ
+
+2.2.3 - September 04, 2004
+	* Tagged as 2.2.3
+
+n/a - September 04, 2004
+	* Added new script to contrib for syslog-ng, which is now part of
+	  LFS-Unstable, and a new Makefile target install-syslog-ng which
+	  removes the sysklogd links, and replaces them with syslog-ng (JU)
+
+2.2.2 - August 11, 2004
+	* Tagged as 2.2.2
+
+n/a - August 7, 2004
+	* Added missing error redirect (/dev/null) in getpids. (DJ)
+
+n/a - August 4, 2004
+	* Added MODE, DIRMODE, and CONFMODE variables to the makefile 
+	  to allow permissions to be set at install. (DJ)
+
+n/a - July 31, 2004
+	
+	* Moved PIDFILE check to getpids and removed arguments from
+	  killproc and reloadproc.  Signals are now set at begining of
+	  funtcions script with KILLDELAY. (DJ)
+	* Added a optional service script which can set the MTU for a given
+	  interface
+
+n/a - July 21, 2004
+
+	* Committed DJ Lucas's patch for the killproc function.  It no 
+	  longer requires arguments if PIDFILE is set
+	* added --backup to all sysconfig configuration files, so they are not
+	  replaced on a make install
+
+n/a - July 13, 2004
+
+	* Added the PEER variable to the ifconfig.*/* file, done by
+	  Kevin P. Fleming
+
+2.2.1 - July 12, 2004
+
+	* Tagged as 2.2.1
+
+n/a - July 12, 2004
+
+	* Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
+	  up/down network interfaces started by hotplug.  This has been revoked
+	  at this time
+	* Networking interfaces are now brought down in reverse order
+	* Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
+	  the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
+	* Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
+	  done by Kevin P. Fleming
+	* Fix reversal of services inside ifconfig.* directories in ifdown,
+	  done by Kevin P. Fleming
+	* Add ipv4-static-route service, supplied by Kevin P. Fleming
+
+2.2.0 - July 12, 2004
+
+	* Tagged as 2.2.0
+
+n/a - July 11, 2004
+
+	* Minor script output changes
+	* Repaired networking scripts broken in previous commits
+
+n/a - July 10, 2004
+
+	* We now use the ip program [from iproute2] instead of ipconfig
+	  [net-tools] to bring up/down ethernet interfaces, and local
+	  connections, submitted by Jim Gifford
+	* Removed gateway backward compatibility
+	* Removed ifup-eth0 ifdown-eth0 compatibility
+	* Removed the "assume SERVICE=static if SERVICE is unset" compatibility
+	* Pass the IFCONFIG environmental variable to services, so they can
+	  locate the file with the parameters they must read
+	* Rename static to ipv4-static
+	* Stage1 for network configuration via directories, ifup and ifdown
+	  modified, and the static service modified
+	* Stage2 for network configuration via directories complete, network was
+	  modified to check within subdirectories for ONBOOT=yes.  Final Stage
+
+n/a - July 8, 2004
+
+	* Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
+	  fixes the problem with line-drawing characters.
+
+n/a - July 7, 2004
+
+	* Halted the computer, if unable to mount /dev as a ramfs
+
+n/a - July 6, 2004
+
+	* Moved the hotplug bootscript back to contrib, it will not be used in
+	  the testing branch of the lfs book at this time
+
+n/a - July 4, 2004
+
+	* Modified ifup and ifdown to be hotplug aware
+
+n/a - July 3, 2004
+
+	* Change the check for ONBOOT into a source within a subshell
+
+n/a - July 1, 2004
+
+	* Moved hotplug start to runlevels 3-5 from sysinit
+
+n/a - June 30, 2004
+
+	* Pass -depth in cleanfs
+
+n/a - June 29, 2004
+
+	* Made the grep for ONBOOT in the network script more exact
+
+2.1.2 - June 27, 2004
+
+	* Install the automatic module loading script by default
+	* Tagged as 2.1.2
+
+n/a - June 26, 2004
+
+	* Fixed font for UK in /etc/sysconfig/console
+
+n/a - June 23, 2004
+
+	* Fixed a typo in the hotplug installation procedure
+
+n/a - June 21, 2004
+
+	* Re-ordered the "mount" and "echo" commands in the udev script, to
+	  prevent a possible race
+	* Converted the udev script to use udevsend/udevd
+	* Moved removal of /fastboot and /forcefsck to just after the root fs
+	  becomes writable, and dropped the removal of /etc/nologin
+	* Cleaned and tweaked both the output and actions of cleanfs
+	* Removed the disabling of hotplug from sendsignals
+	* Removed anything that might call "rmmod" in hotplug, since rmmod is
+	  notoriously troublesome in the 2.6.x kernels, and call it with the
+	  stop argument from runlevels 0 and 6
+	* Fixed previous modifications to the udev and cleanfs scripts
+
+n/a - June 20, 2004
+
+	* Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
+	  one doesn't work as well, and the bug that caused it to change is
+	  now fixed
+
+n/a - June 18, 2004
+
+	* Updated sysconfig/console
+	* Fixed disabling hotplug in sendsignals
+	* hotplug is now installed by default
+
+n/a - June 15, 2004
+
+	* Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
+	  command for hotplug
+	* Cleaned the output of the mountkernfs script
+	* Don't output "Creating files and directories" when it's a lie
+
+n/a - June 8, 2004
+
+	* Changed the location the optional module script is installed to
+	  /etc/rc.d/rcsysinit.d/S05modules.
+
+n/a - June 4, 2004
+
+	* Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
+	  clear it
+
+n/a - June 3, 2004
+
+	* Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
+	  events, which may start up new daemons
+	* Added elementry bootup logging support.  If it can write to
+	  /var/log/boot.log, it will
+	* Removed logging support, it kept / from being remounted ro
+
+n/a - June 2, 2004
+
+	* Reorganize what goes on in the udev script
+	* Reorganize what goes on in the hotplug script
+	* Moved setting /sbin/hotplug as the default hotplug manager into the
+	  hotplug script
+
+n/a - June 1, 2004
+
+	* Removed usbfs from mountkernfs, and mountfs
+	* Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
+
+n/a - May 24, 2004
+
+	* Added more example keymaps and font settings to /etc/sysconfig/console
+	* Install the /etc/sysconfig/console file by default
+
+n/a - May 23, 2004
+
+	* Changed the symlink for the optional modules script
+	* Removed depmod from the optional modules script
+
+n/a - May 20, 2004
+
+	* Removed the random script.  There is not a strong enough case for
+	  adding it to the lfs-bootscripts.
+
+n/a - May 19, 2004
+
+	* Added the random bootscript from blfs-bootscripts
+
+2.1.1 - May 18, 2004
+
+	* Fixed installation of modules configuration
+	* Tagged as 2.1.1
+
+n/a - May 16, 2004
+
+	* Added sysklogd configuration file
+	* Added example /etc/sysconfig/console file
+	* Do not attempt to populate /dev if that directory has already been
+	  set up earlier in bootup (such as on initramfs/initrd)
+	* Prevent excessive kernel output once klogd starts
+	* Added hotplug script
+
+n/a - May 15, 2004
+
+	* Namespace rework (enumeration of scripts is now cleaner)
+	* Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
+
+n/a - May 13, 2004
+
+	* Repaired the console script
+	* Added a check to cleanfs [createfiles], to make sure that we have
+	  a valid devicetype, if we have type=dev
+
+n/a - May 11, 2004
+
+	* Added usbfs to mountkernfs and mountfs
+
+n/a - May 6, 2004
+
+	* Don't use loadproc in localnet, it's not meant for that
+	* Quote tests of $PIDFILE, so that things behave when it's empty
+	* Removed unused kill -0 from killproc
+
+2.1.0 - May 4, 2004
+
+	* Update to the console script, prevent install of the console script
+	* Chgrp /var/run/utmp to group utmp if it exists.
+	* Moved udev from contrib to lfs
+	* Moved GATEWAY setup from /etc/rc.d/init.d/network to
+	  /etc/sysconfig/network-devices/services/static
+	* Use the contents of $PIDFILE, if it is set in the script
+	* Tagged as 2.1.0.
+
+n/a - April 30, 2004
+
+	* Moved the loadkeys script to console, and added setfont.  Contributed
+	  by Alexander E. Patrakov
+
+2.0.5 - April 29, 2004
+
+	* Added the heimdal init script.
+	* Tagged as 2.0.5
+
+2.0.4 - April 27, 2004
+
+	* Tagged as 2.0.4
+
+n/a - April 24, 2004
+
+	* Added a example script for /etc/sysconfig/createfiles
+	* Added a check for /sys before mounting sysfs
+	* Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
+	  This will prevent /dev from being unmounted, if /proc/mounts
+	  is symlinked to /etc/mtab
+
+n/a - April 18, 2004
+
+	* Small fix to a if statement in netfs
+
+n/a - April 17, 2004
+
+	* Added the lisa bootscript, lisa is part of the KDE Network package
+	* Add proper error checking to the mountfs script when writing out mtab
+	* Add more comments to the udev script, and conditionalize various
+	  things that should've been done this way in the first place
+	* Include a template module auto-loading configuration file instead of
+	  having syntax comments in the script itself
+
+n/a - April 12, 2004
+
+	* Added a automatic modules loading script to the contrib directory
+	  submitted by Zack
+	* Edited mountkernfs, so that if you can mount sysfs on /sys, it will
+	  be mounted at boottime.  Should not affect 2.4 systems
+	* Since all entries are added to /etc/mtab, we should not require
+	  the NO_FS variable.  It has been removed from mountfs
+	* Added the udev script into the contrib directory, submitted by Zack
+
+2.0.3 - April 8, 2004
+
+	* Updated cleanfs, so it can create devices.  Supplied by Zack
+	* Tagged as 2.0.3
+
+n/a - March 31, 2004
+
+	* Changed "Press Enter" on unknown error to white
+	* Moved S10swap to S20swap.  When udev is added, it has to be
+	  ran before swap is setup
+
+n/a - March 29, 2004
+
+	* Fixed the rc5.d symlink for ntp so it creates S26ntp instead
+	  of S26npt
+	* Moved S20mountkernfs to S00mountkernfs in rcsysinit.d.  Will help in
+	  the addition of udev in the future.
+
+n/a - March 27, 2004
+
+	* Changed gdm path from hardcoded to program name.  There are 2 spots
+	  gnome can be installed
+
+n/a - March 26, 2004
+
+	* Updated fam daemon script.  It now uses the famd daemon instead of fam
+
+n/a - March 24, 2004
+
+	* Removed mount command out of nfs.  the netfs script already handles
+	  this
+
+2.0.2 - March 24, 2004
+
+	* Edited cleanfs to solve a problem.  [if /tmp does not exist, it
+	  could run the find command on the root filesystem]
+	* Tagged as 2.0.2
+
+2.0.1 - March 24, 2004
+
+	* Found typo in BLFS MySQL Script.
+	* Tagged as 2.0.1
+
+2.0.0 - March 23, 2004
+
+	* Tagged as 2.0.0, no changes from 2.0.0-pre2
+
+2.0.0-pre2 - March 23, 2004
+
+	* Cleaned the /tmp directory on bootup.  find command supplied by Zack
+	* Added a script which can automatically create files and directories
+	  on startup.  [Handles files/directories, permissions, and user/group].
+	  Created by Zack
+	* Added blfs/init.d/fam script
+	* Tagged as 2.0.0-pre2
+
+n/a - March 20, 2004
+
+	* Added create-service-dir target and removed from create-dirs
+	* Changed service script install targets to use
+	  create-service-dir
+	* Added check for dhcpcd service script for stale pid file 
+	  Suggested by Jeremy
+	* Added ifconfig to ipx service script for hosting device not up
+
+n/a - March 19, 2004
+
+	* Added support for ETCDIR, and DESTDIR in the Makefile,
+	  compliments of Tushar
+	* Renamed mountproc to mountkernfs
+	* Updated the README file
+	* Coloured the print_error_message in functions red
+	* added stop to the setclock script
+	* changed echo > to > in cleanfs, suggested by winkie
+	* BLFS Scripts Added,  collected by Zack
+	* Edited killproc, so it checks for running pids, rather then
+	  the completion of the above kill command.  Suggested by Zack
+	* Added network services found in blfs, removed adsl.  Submitted by
+	  DJ.
+
+1.99.4 - March 17, 2004
+
+	* Fixed one last halt line in checkfs script
+	* Moved the directory structure around
+	* Tagged as development release 1.99.4
+
+n/a - February 28, 2004
+
+	* Added stty sane to the top of rc.d/init.d/rc.  Hopefully, this will
+	  fix the problems
+	* Also changed all instances of <ctrl-j> back to enter
+
+1.99.3 - February 23, 2004
+
+	* Tagged as development release 1.99.3
+
+n/a - February 19, 2004
+
+	* Fixed checkfs script, so it will no longer continue to boot after a
+	  failure in the init.d/checkfs script.  Tested with the help of Andre
+	  Müller.  Fix suggested by Zack
+
+n/a - February 7, 2004
+
+	* Added -s onto grep on network stop
+	* Replaced a few more enter's with ctrl-j
+
+1.99.2 - February 6, 2004
+
+	* Added -s onto grep in network start
+	* Tagged as development release 1.99.2
+
+n/a - February 4, 2004
+
+	* Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
+	  functions
+	* Changed above fixes to work with ash
+	* Fixed checkfs symlink in Makefile
+	* functions is no longer installed as executable
+	* Added a check to checkfs, for errors above 16.  These are caused by
+	  being unable to run fsck, either due to user input, or a unfunctional
+	  linux system
+
+1.99.1 - February 2, 2004
+
+	* Tagged as development release 1.99.1
+
+n/a - February 2, 2004:
+
+	* Added -d to umount in mountfs.
+	* Fixed network shutdown script
+	* Fixed Makefile rc.6 to reboot
+	* Added -s flag to grep command in rc.d/init.d/network -
+          suppresses an error if no ifconfig.* files exist
+
+n/a - January 30, 2004:
+
+	* Reorganized the network system to accept multiple services.
+	* Ash Compliancy
+	* Modified some scripts to follow template
+	* Reorganized functions, based upon Ash Compliancy Patch
+	* Added a sleep 5 to failure for evaulate_retval, and changed
+	  evaulate_retval to return true instead of false.  Instead, a
+	  exit 1 will indicate the script terminated abnormally, causing
+	  your system to wait until you hit ctrl-J
+	* Switched "Press enter to continue" to "Press <ctrl-j> to continue"
+	* replaced 3 with $KILLDELAY in sendsignals
+	* mountfs does not mount network filesystems [identified by _netdev
+	  in /etc/fstab]
+	* removed unneded touch out of cleanfs
+
+n/a - January 30, 2004:
+
+	* New maintainers for the lfs-bootscripts package are:
+	Jeremy Utley (jeremy@linuxfromscratch.org)
+	Nathan Coulson (nathan@linuxfromscratch.org)
+
+1.11 - February 3rd, 2003:
+
+	* /etc/mtab is now a real file and is handled correctly so there are
+	no errors even when the machine has crashed.
+
+1.10 - September 12th, 2002:
+
+	* Fixed up checkfs to work with non-ext2 filesystems too (such as
+	minix).
+
+1.9 - April 5th, 2002:
+
+	* reloadproc function had a missing '=' in the "failure 1" command (it
+	  should be failure=1)
+
+	* When script exists with unexpected value, you have to hit "Enter" to
+	  continue, not just a random key as printed on the screen.
+
+	* Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
+	  K40sysklogd, K50sendsignals, K60mount, K70swap
+
+	* Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
+	  linked to bash but to some other shell of your choice. These scripts
+	  are written to work with bash, so you can't just run them when
+	  /bin/sh -> csh or ash or whatever else tickles your fancy. This
+	  change should fix that.
+
+1.8 - March 14th, 2002:
+
+	* Fixed the getpids function call so PPID's would be taken into account
+	  properly.
+
+	* Added the 'contrib' directory with other people's bootscript
+	  implementations.
+
+1.7 - March 10th, 2002:
+
+	* Used code from Matthias Benkmann's simpleinit-msb @
+	  http://winterdrache.de/linux/newboot/index.html mainly for improved
+	  killproc function handling
+
+	* When a requested process isn't running, or is already running, a
+	  warning "Not running" or "Already running" will be displayed. This
+	  was out of allignment due to a missing $CURS_UP
+
+	* Removed "||exit" from ifup and ifdown scripts. They are useless.
+
+	* Changed the loadkeys script to run "loadkeys -d" and removed the need
+	  for the /etc/sysconfig/keyboard file. The kbd patch fixes the
+	  "loadkeys -d" behaviour.
+
+1.6 - February 26th, 2002:
+
+	* replaced -o %PPID with -o $PPID throughout the functions script. This
+	construct does what it's supposed to do (don't take PPID into account
+	because this would fail if a running daemon and the bootscript have
+	the same name).
+
+	* added 'restart' to the swap script
+
+	* instead of using 'echo -n' to supress newlines so the [ OK ] and
+	  related messages allign properly, substitute this with a single echo
+	  command that simply goes one line up before outputting anything. This
+	  also has the benefit that when programs have their own output (like
+	  swapon, fsck and loadkeys), there won't be an unwanted blank line
+	  between the program's output and the [ OK ] et all. messages.
+
+1.5 - February 2nd, 2002:
+
+	* added 'exit 1' to the statusproc function when there aren't enough
+	parameters passed to it (such as the name of process to check for)
+
+1.4 - February 2nd, 2002:
+
+	* when /fastboot is detected and the message about it is printed,
+	  don't run 'exit 1' else the rc script will cause a [FAILED] to
+	  be printed which is undesired in this case.
+
+1.3 - January 30th, 2002:
+	* network script: changed default route detection by using the same
+	  method as used when starting the script: check if the GATEWAY
+	  variable is set
+
+	* removed the emptying of /etc/mtab since it's a symlink to
+	 /proc/mounts now
+
+	* added the mountproc script which mounts the proc system. This is done
+	  because we need proc mounted even before the mountfs script is ran
+	  (now that /etc/mtab is a symlink to /proc/mounts)
+
+	* removed all absolute paths from command calls
+
+	* added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
+	  functions script. Every file now sources this so that umask and PATH
+	  are set correctly
+
+1.2 - January 26th, 2002:
+	* network script: detect if a default route is set before removing it
+
Index: bootscripts/Changelog
===================================================================
--- bootscripts/Changelog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/Changelog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,85 @@
+jim - June 4, 2009
+	* Fixed Bootlogging Ticket #211.
+
+jim - February 3, 2009
+	* Updated DHCPCD service.
+
+jim - February 2, 2009
+	* Fixed Makefile
+	* Moved Network to install-network
+
+jim - January 31, 2009
+	* Moved syklogd to cblfs
+	* Added rsyslog to clfs
+
+jim - January 14, 2009
+	* Fixed Netboot Udev Setup
+	* Remove all script directories for netboot
+
+jim - January 8, 2009
+	* Remove Console Script
+	* Added i18n Script
+
+jim - October 24, 2007
+	* Merged Netboot Scripts
+
+jim - October 23, 2007
+	* Merged BLFS changes from SVN
+	* Merged LFS changes from SVN
+
+jim - October 16, 2007
+	* Merged BLFS scripts
+	* Fixed Makefile
+	* Changed install to install-bootscripts
+	* Changed minimal to install-minimal
+
+jim - September 10, 2007
+	* Moved udev script from udev package since udev package is no longer required
+
+jim - October 31, 2006
+	* Cleaned up bootscripts removed uneeded patch
+	* Renamed lfs dir to clfs to keep it with our standards
+	* Added the ability to have network subinterfaces
+
+jim - October 24, 2006
+	* Added IP Address of Interface on IFUP Error message
+	* Fixed Logging. Would hang because of an empty variable
+
+jim - September 24, 2006
+        * Changed LFS to CLFS
+	* Added Logging Feature back to the bootscripts
+
+jim - September 2, 2006
+        * Add a check to see if the interface is already disabled
+        * Add a check to see if the interface is already setup
+
+jim - August 27, 2006
+	* Added the same change to ifdown script. 
+
+jeremy - August 21, 2006
+	* Logic error in ifup script - output of ip link show always shows
+	  all interfaces - added a grep to only look at the interface we're
+	  interested in
+
+jim - July 27, 2006
+	* Corrected install-minimal symlinks
+
+jim - June 29, 2006
+	* Disable interactive Prompts
+	* Added Check to see if /etc/sysconfig/createfiles is available
+
+jim - May 15, 2006
+	* Hide all the output information from the LCD Program
+	* Added support for 1 line LCD screens
+	* Added a generic sysconfig/lcd
+
+jim - May 10, 2006
+	* Fixed an error when the LCD device is not available
+
+jim - May 9, 2006
+	* Added support for LCD Screens
+	* Added support for RaQ3 LCD and Cobalt Panel Utils
+
+This is a new Changelog. The old one is now renamed to CHANGELOG.old.
+These scripts are based on LFS-Bootscripts 3.2.2
+
Index: bootscripts/LICENSE
===================================================================
--- bootscripts/LICENSE	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/LICENSE	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,22 @@
+Copyright (c) 2007 Jim Gifford and Ryan Oliver
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
Index: bootscripts/LICENSE.blfs
===================================================================
--- bootscripts/LICENSE.blfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/LICENSE.blfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,29 @@
+Copyright (c) 1999-2007, Gerard Beekmans
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+	*	Redistributions in any form must retain the above copyright notice,
+		this list of conditions and the following disclaimer.
+
+	*	Neither the name of "Linux From Scratch" nor the names of its
+		contributors may be used to endorse or promote products derived from
+		this material without specific prior written permission.
+
+	*	Any material derived from Linux From Scratch must contain a
+		reference to the "Linux From Scratch" project.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
+IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
Index: bootscripts/LICENSE.lfs
===================================================================
--- bootscripts/LICENSE.lfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/LICENSE.lfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,29 @@
+Copyright (c) 1999-2007, Gerard Beekmans
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+	*	Redistributions in any form must retain the above copyright notice,
+		this list of conditions and the following disclaimer.
+
+	*	Neither the name of "Linux From Scratch" nor the names of its
+		contributors may be used to endorse or promote products derived from
+		this material without specific prior written permission.
+
+	*	Any material derived from Linux From Scratch must contain a
+		reference to the "Linux From Scratch" project.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
+IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
Index: bootscripts/Makefile
===================================================================
--- bootscripts/Makefile	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/Makefile	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,1315 @@
+VERSION		:= 1.2-pre10
+
+ETCDIR		:= /etc
+SHELL		:= /bin/bash
+EXTDIR		:= ${DESTDIR}${ETCDIR}
+MODE		:= 754
+DIRMODE		:= 755
+CONFMODE	:= 644
+
+all:
+	@grep "^install" Makefile | cut -d ":" -f 1
+	@echo "dist"
+	@echo "Select an appropriate install target from the above list" ; exit 1
+
+.PHONY: dist
+dist:
+	rm -rf "dist/bootscripts-cross-lfs-$(VERSION)"
+	mkdir -p "dist/bootscripts-cross-lfs-$(VERSION)"
+	tar --exclude dist -c * | tar -x -C "dist/bootscripts-cross-lfs-$(VERSION)"
+	(cd dist; tar -cjf "bootscripts-cross-lfs-$(VERSION).tar.bz2" "bootscripts-cross-lfs-$(VERSION)")
+	rm -rf "dist/bootscripts-cross-lfs-$(VERSION)"
+
+create-dirs:
+	install -d -m ${DIRMODE} ${EXTDIR}/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d
+	install -d -m ${DIRMODE} ${EXTDIR}/rc.d/init.d
+	install -d -m ${DIRMODE} ${EXTDIR}/sysconfig
+
+create-service-dir:
+	install -d -m ${DIRMODE} ${EXTDIR}/sysconfig/network-devices/services
+
+udev_device_dirs:
+	install -d -m ${DIRMODE} ${DESTDIR}/lib/udev/devices/{pts,shm,net}
+
+udev_device_links: udev_device_dirs
+	ln -snf /proc/self/fd ${DESTDIR}/lib/udev/devices/fd
+	ln -snf /proc/self/fd/0 ${DESTDIR}/lib/udev/devices/stdin
+	ln -snf /proc/self/fd/1 ${DESTDIR}/lib/udev/devices/stdout
+	ln -snf /proc/self/fd/2 ${DESTDIR}/lib/udev/devices/stderr
+	ln -snf /proc/kcore ${DESTDIR}/lib/udev/devices/core
+
+mknod_devices: udev_device_dirs
+	@if [ "$$UID" = "0" ]; then \
+		if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \
+			mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3 ;\
+		fi \
+	fi
+	@if [ "$$UID" = "0" ]; then \
+		if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \
+			mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1 ;\
+		fi \
+	fi
+	@if [ "$$UID" != "0" ]; then \
+		if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \
+			echo "You will need to issue the following command as the root user" ;\
+			echo "" ;\
+			echo "mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3" ;\
+		fi \
+	fi
+	@if [ "$$UID" != "0" ]; then \
+		if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \
+			echo "mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1" ;\
+			echo "" ;\
+		fi \
+	fi
+
+install-bootscripts: create-dirs create-service-dir udev_device_dirs udev_device_links
+
+	install -m ${MODE} clfs/init.d/checkfs       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/cleanfs       ${EXTDIR}/rc.d/init.d/
+	install -m ${CONFMODE} clfs/init.d/functions ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/halt          ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/consolelog    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/i18n          ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/localnet      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/modules       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/mountfs       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/mountkernfs   ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/rc            ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/reboot        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/sendsignals   ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/setclock	     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/rsyslog       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/swap          ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/sysctl        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/template      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/udev          ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc0.d/K90rsyslog
+	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc0.d/S70mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rc0.d/S80swap
+	ln -sf ../init.d/localnet    ${EXTDIR}/rc.d/rc0.d/S90localnet
+	ln -sf ../init.d/halt        ${EXTDIR}/rc.d/rc0.d/S99halt
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc1.d/S10rsyslog
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc2.d/S10rsyslog
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc3.d/S10rsyslog
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc4.d/S10rsyslog
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc5.d/S10rsyslog
+	ln -sf ../init.d/rsyslog     ${EXTDIR}/rc.d/rc6.d/K90rsyslog
+	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc6.d/S70mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rc6.d/S80swap
+	ln -sf ../init.d/localnet    ${EXTDIR}/rc.d/rc6.d/S90localnet
+	ln -sf ../init.d/reboot      ${EXTDIR}/rc.d/rc6.d/S99reboot
+	ln -sf ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S00mountkernfs
+	ln -sf ../init.d/consolelog  ${EXTDIR}/rc.d/rcsysinit.d/S02consolelog
+	ln -sf ../init.d/modules     ${EXTDIR}/rc.d/rcsysinit.d/S05modules
+	ln -sf ../init.d/udev        ${EXTDIR}/rc.d/rcsysinit.d/S10udev
+	ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S15setclock
+	ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S20checkfs
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S30mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rcsysinit.d/S40swap
+	ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
+	ln -sf ../init.d/i18n        ${EXTDIR}/rc.d/rcsysinit.d/S70i18n
+	ln -sf ../init.d/localnet    ${EXTDIR}/rc.d/rcsysinit.d/S80localnet
+	ln -sf ../init.d/sysctl      ${EXTDIR}/rc.d/rcsysinit.d/S90sysctl
+	if [ ! -f ${EXTDIR}/sysconfig/bootscripts ]; then install -m ${CONFMODE} clfs/sysconfig/bootscripts ${EXTDIR}/sysconfig/bootscripts; fi
+	if [ ! -f ${EXTDIR}/sysconfig/createfiles ]; then install -m ${CONFMODE} clfs/sysconfig/createfiles ${EXTDIR}/sysconfig/; fi
+	if [ ! -f ${EXTDIR}/sysconfig/i18n        ]; then install -m ${CONFMODE} clfs/sysconfig/i18n        ${EXTDIR}/sysconfig/; fi
+	if [ ! -f ${EXTDIR}/sysconfig/modules     ]; then install -m ${CONFMODE} clfs/sysconfig/modules     ${EXTDIR}/sysconfig/; fi
+	if [ ! -f ${EXTDIR}/sysconfig/rc          ]; then install -m ${CONFMODE} clfs/sysconfig/rc          ${EXTDIR}/sysconfig/; fi
+	@$(MAKE) mknod_devices
+
+install-network: create-dirs create-service-dir
+
+	install -m ${MODE} clfs/init.d/network       ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc0.d/K80network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc1.d/K80network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc2.d/S20network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc3.d/S20network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc4.d/S20network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc5.d/S20network
+	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc6.d/K80network
+	install                   -m ${MODE} clfs/sysconfig/network-devices/ifup   ${EXTDIR}/sysconfig/network-devices/
+	install                   -m ${MODE} clfs/sysconfig/network-devices/ifdown ${EXTDIR}/sysconfig/network-devices/
+	install                   -m ${MODE} clfs/sysconfig/network-devices/services/ipv4-static       ${EXTDIR}/sysconfig/network-devices/services/
+	install                   -m ${MODE} clfs/sysconfig/network-devices/services/ipv4-static-route ${EXTDIR}/sysconfig/network-devices/services/
+
+install-service-mtu: create-service-dir
+	install -m ${MODE} contrib/sysconfig/network-devices/services/mtu ${EXTDIR}/sysconfig/network-devices/services
+
+install-minimal: create-dirs create-service-dir udev_device_dirs udev_device_links
+	sed -e 's|/bin:/usr/bin:/sbin:/usr/sbin|/tools/bin:/tools/sbin:/bin:/sbin|g' clfs/init.d/functions > clfs/init.d/functions.minimal
+	install -m ${MODE} clfs/init.d/checkfs       		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/cleanfs       		${EXTDIR}/rc.d/init.d/
+	install -m ${CONFMODE} clfs/init.d/functions.minimal	${EXTDIR}/rc.d/init.d/functions
+	install -m ${MODE} clfs/init.d/halt          		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/localnet      		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/mountfs       		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/mountkernfs   		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/rc            		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/reboot        		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/sendsignals   		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/setclock      		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/swap          		${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} clfs/init.d/udev          		${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc0.d/S70mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rc0.d/S80swap
+	ln -sf ../init.d/halt        ${EXTDIR}/rc.d/rc0.d/S99halt
+	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc6.d/S70mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rc6.d/S80swap
+	ln -sf ../init.d/reboot      ${EXTDIR}/rc.d/rc6.d/S99reboot
+	ln -sf ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S00mountkernfs
+	ln -sf ../init.d/udev        ${EXTDIR}/rc.d/rcsysinit.d/S10udev
+	ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S20checkfs
+	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S30mountfs
+	ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rcsysinit.d/S40swap
+	ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
+	ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S60setclock
+	if [ ! -f ${EXTDIR}/sysconfig/rc          ]; then install -m ${CONFMODE} clfs/sysconfig/rc          ${EXTDIR}/sysconfig/; fi
+	if [ ! -f ${EXTDIR}/sysconfig/createfiles ]; then install -m ${CONFMODE} clfs/sysconfig/createfiles ${EXTDIR}/sysconfig/; fi
+	@$(MAKE) mknod_devices
+
+install-raq2: create-dirs
+	install -m ${MODE} clfs/init.d/paneld        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc0.d/K01paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc1.d/S99paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc2.d/S99paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc3.d/S99paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc4.d/S99paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc5.d/S99paneld
+	ln -sf ../init.d/paneld      ${EXTDIR}/rc.d/rc6.d/K01paneld
+	if [ ! -f ${EXTDIR}/sysconfig/lcd          ]; then install -m ${CONFMODE} clfs/sysconfig/lcd-raq2   ${EXTDIR}/sysconfig/lcd; fi
+
+install-raq3: create-dirs
+	install -m ${MODE} clfs/init.d/setlcd        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc0.d/K01setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc1.d/S99setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc2.d/S99setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc3.d/S99setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc4.d/S99setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc5.d/S99setlcd
+	ln -sf ../init.d/setlcd      ${EXTDIR}/rc.d/rc6.d/K01setlcd
+	if [ ! -f ${EXTDIR}/sysconfig/lcd          ]; then install -m ${CONFMODE} clfs/sysconfig/lcd-raq3   ${EXTDIR}/sysconfig/lcd; fi
+
+install-lcd: create-dirs
+	if [ ! -f ${EXTDIR}/sysconfig/lcd          ]; then install -m ${CONFMODE} clfs/sysconfig/lcd        ${EXTDIR}/sysconfig/lcd; fi
+
+install-service-dhclient: create-service-dir
+	install -m ${MODE} cblfs/sysconfig/network-devices/services/dhclient ${EXTDIR}/sysconfig/network-devices/services
+
+install-service-dhcpcd: create-service-dir
+	install -m ${MODE} cblfs/sysconfig/network-devices/services/dhcpcd   ${EXTDIR}/sysconfig/network-devices/services
+
+install-service-ipx: create-service-dir
+	install -m ${MODE} cblfs/sysconfig/network-devices/services/ipx      ${EXTDIR}/sysconfig/network-devices/services
+
+install-service-pppoe: create-service-dir
+	install -m ${MODE} cblfs/sysconfig/network-devices/services/pppoe    ${EXTDIR}/sysconfig/network-devices/services
+
+install-netboot: create-dirs create-service-dir udev_device_dirs udev_device_links
+	rm -rf ${EXTDIR}/rc.d
+	install -d -m ${DIRMODE} ${EXTDIR}/rc.d
+	install -m ${MODE} netboot/rc.0         ${EXTDIR}/rc.d/
+	install -m ${MODE} netboot/rc.1         ${EXTDIR}/rc.d/
+	install -m ${MODE} netboot/rc.sysinit ${EXTDIR}/rc.d/
+	if [ ! -f ${EXTDIR}/inittab ]; then install -m ${CONFMODE} netboot/inittab ${EXTDIR}/inittab; fi
+	ln -sf ../rc.d/rc.0 ${EXTDIR}/rc.d/rc.6
+	ln -sf ../rc.d/rc.1 ${EXTDIR}/rc.d/rc.2
+	ln -sf ../rc.d/rc.1 ${EXTDIR}/rc.d/rc.3
+	ln -sf ../rc.d/rc.1 ${EXTDIR}/rc.d/rc.4
+	ln -sf ../rc.d/rc.1 ${EXTDIR}/rc.d/rc.5
+
+install-alsa: create-dirs
+	install -m ${MODE} cblfs/init.d/alsa       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc0.d/K35alsa
+	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc1.d/K35alsa
+	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc6.d/K35alsa
+
+install-apache: create-dirs
+	install -m ${MODE} cblfs/init.d/apache     ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc0.d/K28apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc1.d/K28apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc2.d/K28apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc3.d/S32apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc4.d/S32apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc5.d/S32apache
+	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc6.d/K28apache
+
+install-autofs: create-dirs
+	install -m $(MODE) cblfs/init.d/autofs    $(EXTDIR)/rc.d/init.d/
+	install -m $(CONFMODE) cblfs/sysconfig/autofs.conf $(EXTDIR)/sysconfig/
+	ln -sf  ../init.d/autofs $(EXTDIR)/rc.d/rcsysinit.d/S52autofs
+
+install-bind: create-dirs
+	install -m ${MODE} cblfs/init.d/bind       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc0.d/K49bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc1.d/K49bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc2.d/K49bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc3.d/S22bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc4.d/S22bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc5.d/S22bind
+	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc6.d/K49bind
+
+install-cluster-all: create-dirs
+	install -m ${MODE} cblfs/init.d/cluster	${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc0.d/K15cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc1.d/K15cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc2.d/K15cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc3.d/S99cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc4.d/S99cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc5.d/S99cluster
+	ln -sf  ../init.d/cluster ${EXTDIR}/rc.d/rc6.d/K15cluster
+
+install-cups: create-dirs
+	install -m ${MODE} cblfs/init.d/cups       ${EXTDIR}/rc.d/init.d/
+	rm -f ${EXTDIR}/rc.d/rc0.d/K36cups
+	rm -f ${EXTDIR}/rc.d/rc2.d/K36cups
+	rm -f ${EXTDIR}/rc.d/rc3.d/K36cups
+	rm -f ${EXTDIR}/rc.d/rc5.d/K36cups
+	rm -f ${EXTDIR}/rc.d/rc2.d/S81cups
+	rm -f ${EXTDIR}/rc.d/rc3.d/S81cups
+	rm -f ${EXTDIR}/rc.d/rc5.d/S81cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc0.d/K00cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc1.d/K00cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc2.d/S25cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc3.d/S25cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc4.d/S25cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc5.d/S25cups
+	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc6.d/K00cups
+
+install-cyrus-sasl: create-dirs
+	install -m ${MODE} cblfs/init.d/cyrus-sasl ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc0.d/K49cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc1.d/K49cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc2.d/S24cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc3.d/S24cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc4.d/S24cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc5.d/S24cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl ${EXTDIR}/rc.d/rc6.d/K49cyrus-sasl
+
+install-dbus: create-dirs
+	install -m ${MODE} cblfs/init.d/dbus ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc0.d/K30dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc1.d/K30dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc2.d/S20dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc3.d/S20dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc4.d/S20dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc5.d/S20dbus
+	ln -sf  ../init.d/dbus ${EXTDIR}/rc.d/rc6.d/K30dbus
+
+install-devmapper: create-dirs
+	install -m ${MODE} cblfs/init.d/devmapper  ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/devmapper ${EXTDIR}/rc.d/rcsysinit.d/S15devmapper
+
+install-dhcp: create-dirs
+	install -m ${MODE} cblfs/init.d/dhcp       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc0.d/K30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc1.d/K30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc2.d/K30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc3.d/S30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc4.d/S30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc5.d/S30dhcp
+	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc6.d/K30dhcp
+
+install-exim: create-dirs
+	install -m ${MODE} cblfs/init.d/exim       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc0.d/K25exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc1.d/K25exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc2.d/K25exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc3.d/S35exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc4.d/S35exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc5.d/S35exim
+	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc6.d/K25exim
+
+install-fam: create-dirs
+	install -m ${MODE} cblfs/init.d/fam      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc0.d/K37fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc1.d/K37fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc2.d/S23fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc3.d/S23fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc4.d/S23fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc5.d/S23fam
+	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc6.d/K39fam
+
+install-fcron: create-dirs
+	install -m ${MODE} cblfs/init.d/fcron      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc0.d/K08fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc1.d/K08fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc2.d/S40fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc3.d/S40fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc4.d/S40fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc5.d/S40fcron
+	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc6.d/K08fcron
+
+install-gdm: create-dirs
+	install -m ${MODE} cblfs/init.d/gdm        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc0.d/K05gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc1.d/K05gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc2.d/K05gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc3.d/K05gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc4.d/K05gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc5.d/S95gdm
+	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc6.d/K05gdm
+
+install-gmetad:
+	install -m ${MODE} cblfs/init.d/gmetad	${EXTDIR}/rc.d/init.d
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc0.d/K15gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc1.d/K15gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc2.d/K15gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc3.d/S99gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc4.d/S99gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc5.d/S99gmetad
+	ln -sf  ../init.d/gmetad ${EXTDIR}/rc.d/rc6.d/K15gmetad
+
+install-gmond:
+	install -m ${MODE} cblfs/init.d/gmond       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc0.d/K15gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc1.d/K15gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc2.d/K15gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc3.d/S99gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc4.d/S99gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc5.d/S99gmond
+	ln -sf  ../init.d/gmond ${EXTDIR}/rc.d/rc6.d/K15gmond
+
+install-gpm: create-dirs
+	install -m ${MODE} cblfs/init.d/gpm        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc0.d/K10gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc1.d/K10gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc2.d/S70gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc3.d/S70gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc4.d/S70gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc5.d/S70gpm
+	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc6.d/K10gpm
+
+install-haldaemon: create-dirs
+	install -m ${MODE} cblfs/init.d/haldaemon      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc0.d/K29haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc1.d/K29haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc2.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc3.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc4.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc5.d/S21haldaemon
+	ln -sf  ../init.d/haldaemon ${EXTDIR}/rc.d/rc6.d/K29haldaemon
+
+install-heimdal: create-dirs
+	install -m ${MODE} cblfs/init.d/heimdal        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc0.d/K42heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc1.d/K42heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc2.d/K42heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc3.d/S28heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc4.d/S28heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc5.d/S28heimdal
+	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc6.d/K42heimdal
+
+install-iptables: create-dirs
+	install -m ${MODE} cblfs/init.d/iptables        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/iptables ${EXTDIR}/rc.d/rc3.d/S19iptables
+	ln -sf  ../init.d/iptables ${EXTDIR}/rc.d/rc4.d/S19iptables
+	ln -sf  ../init.d/iptables ${EXTDIR}/rc.d/rc5.d/S19iptables
+
+install-kerberos: create-dirs
+	install -m ${MODE} cblfs/init.d/kerberos ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc0.d/K42kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc1.d/K42kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc2.d/K42kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc3.d/S28kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc4.d/S28kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc5.d/S28kerberos
+	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc6.d/K42kerberos
+
+install-lisa: create-dirs
+	install -m ${MODE} cblfs/init.d/lisa       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc0.d/K35lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc1.d/K35lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc2.d/K35lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc3.d/S30lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc4.d/S30lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc5.d/S30lisa
+	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc6.d/K35lisa
+
+install-lprng: create-dirs
+	install -m ${MODE} cblfs/init.d/lprng      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc0.d/K00lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc1.d/K00lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc2.d/S99lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc3.d/S99lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc4.d/S99lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc5.d/S99lprng
+	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc6.d/K00lprng
+
+install-maui: create-dirs
+	install -m ${MODE} cblfs/init.d/maui        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc0.d/K15maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc1.d/K15maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc2.d/K15maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc3.d/S50maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc4.d/S50maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc5.d/S50maui
+	ln -sf ../init.d/maui      ${EXTDIR}/rc.d/rc6.d/K15maui
+
+install-momclient: create-dirs
+	install -m ${MODE} cblfs/init.d/momclient        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc0.d/K15momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc1.d/K15momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc2.d/K15momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc3.d/S35momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc4.d/S35momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc5.d/S35momclient
+	ln -sf ../init.d/momclient      ${EXTDIR}/rc.d/rc6.d/K15momclient
+
+install-mpich2: create-dirs
+	install -m ${MODE} cblfs/init.d/mpd     ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc0.d/K10mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc1.d/K10mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc2.d/K10mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc3.d/S99mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc4.d/S99mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc5.d/S99mpd
+	ln -sf  ../init.d/mpd ${EXTDIR}/rc.d/rc6.d/K10mpd
+
+install-mysql: create-dirs
+	install -m ${MODE} cblfs/init.d/mysql      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc0.d/K26mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc1.d/K26mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc2.d/K26mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc3.d/S34mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc4.d/S34mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc5.d/S34mysql
+	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc6.d/K26mysql
+
+install-nas: create-dirs
+	install -m ${MODE} cblfs/init.d/nas        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc0.d/K35nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc1.d/K35nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc2.d/K35nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc3.d/S30nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc4.d/S30nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc5.d/S30nas
+	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc6.d/K35nas
+
+install-netfs: create-dirs
+	install -m ${MODE} cblfs/init.d/netfs      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc0.d/K47netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc1.d/K47netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc2.d/K47netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc3.d/S28netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc4.d/S28netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc5.d/S28netfs
+	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc6.d/K47netfs
+
+install-nfs-client: create-dirs
+	install -m ${MODE} cblfs/init.d/nfs-client ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc0.d/K48nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc1.d/K48nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc2.d/K48nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc3.d/S24nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc4.d/S24nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc5.d/S24nfs-client
+	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc6.d/K48nfs-client
+
+install-nfs-server: create-dirs
+	install -m ${MODE} cblfs/init.d/nfs-server ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc0.d/K48nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc1.d/K48nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc2.d/K48nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc3.d/S24nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc4.d/S24nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc5.d/S24nfs-server
+	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc6.d/K48nfs-server
+
+install-ntp: create-dirs
+	install -m ${MODE} cblfs/init.d/ntp        ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc0.d/K46ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc1.d/K46ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc2.d/K46ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc3.d/S26ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc4.d/S26ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc5.d/S26ntp
+	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc6.d/K46ntp
+
+install-openldap1: create-dirs
+	install -m ${MODE} cblfs/init.d/openldap1  ${EXTDIR}/rc.d/init.d/openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc0.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc1.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc2.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc3.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc4.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc5.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc6.d/K46openldap
+
+install-openldap2: create-dirs
+	install -m ${MODE} cblfs/init.d/openldap2  ${EXTDIR}/rc.d/init.d/openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc0.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc1.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc2.d/K46openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc3.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc4.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc5.d/S25openldap
+	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc6.d/K46openldap
+
+install-pbsserver: create-dirs
+	install -m ${MODE} cblfs/init.d/pbsserver        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc0.d/K15pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc1.d/K15pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc2.d/K15pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc3.d/S25pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc4.d/S25pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc5.d/S25pbsserver
+	ln -sf ../init.d/pbsserver      ${EXTDIR}/rc.d/rc6.d/K15pbsserver
+
+install-portmap: create-dirs
+	install -m ${MODE} cblfs/init.d/portmap    ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc0.d/K49portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc1.d/K49portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc2.d/K49portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc3.d/S22portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc4.d/S22portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc5.d/S22portmap
+	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc6.d/K49portmap
+
+install-postfix: create-dirs
+	install -m ${MODE} cblfs/init.d/postfix    ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc0.d/K25postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc1.d/K25postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc2.d/K25postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc3.d/S35postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc4.d/S35postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc5.d/S35postfix
+	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc6.d/K25postfix
+
+install-postgresql: create-dirs
+	install -m ${MODE} cblfs/init.d/postgresql ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc0.d/K26postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc1.d/K26postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc2.d/K26postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc3.d/S34postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc4.d/S34postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc5.d/S34postgresql
+	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc6.d/K26postgresql
+
+install-proftpd: create-dirs
+	install -m ${MODE} cblfs/init.d/proftpd    ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc0.d/K28proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc1.d/K28proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc2.d/K28proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc3.d/S32proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc4.d/S32proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc5.d/S32proftpd
+	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc6.d/K28proftpd
+
+install-random: create-dirs
+	install -m ${MODE} cblfs/init.d/random     ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc0.d/K45random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc1.d/S25random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc2.d/S25random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc3.d/S25random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc4.d/S25random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc5.d/S25random
+	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc6.d/K45random
+
+install-rsyncd: create-dirs
+	install -m ${MODE} cblfs/init.d/rsyncd     ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc0.d/K30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc1.d/K30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc2.d/K30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc3.d/S30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc4.d/S30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc5.d/S30rsyncd
+	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc6.d/K30rsyncd
+
+install-samba: create-dirs
+	install -m ${MODE} cblfs/init.d/samba      ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc0.d/K48samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc1.d/K48samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc2.d/K48samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc3.d/S45samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc4.d/S45samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc5.d/S45samba
+	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc6.d/K48samba
+
+install-sendmail: create-dirs
+	install -m ${MODE} cblfs/init.d/sendmail   ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc0.d/K25sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc1.d/K25sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc2.d/K25sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc3.d/S35sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc4.d/S35sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc5.d/S35sendmail
+	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc6.d/K25sendmail
+
+install-sysklogd: create-dirs
+	install -m ${MODE} cblfs/init.d/sysklogd   ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc0.d/K90sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc1.d/S10sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc2.d/S10sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc3.d/S10sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc4.d/S10sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc5.d/S10sysklogd
+	ln -sf  ../init.d/sysklogd ${EXTDIR}/rc.d/rc6.d/K90sysklogd
+
+install-qpopper: create-dirs
+	install -m ${MODE} cblfs/init.d/qpopper   ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc0.d/K23qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc1.d/K23qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc2.d/K23qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc3.d/S37qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc4.d/S37qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc5.d/S37qpopper
+	ln -sf  ../init.d/qpopper ${EXTDIR}/rc.d/rc6.d/K23qpopper
+
+install-sshd: create-dirs
+	install -m ${MODE} cblfs/init.d/sshd       ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc0.d/K30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc1.d/K30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc2.d/K30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc3.d/S30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc4.d/S30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc5.d/S30sshd
+	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc6.d/K30sshd
+
+install-stunnel: create-dirs
+	install -m ${MODE} cblfs/init.d/stunnel    ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc0.d/K47stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc1.d/K47stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc2.d/K47stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc3.d/S55stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc4.d/S55stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc5.d/S55stunnel
+	ln -sf  ../init.d/stunnel ${EXTDIR}/rc.d/rc6.d/K47stunnel
+
+install-svn: create-dirs
+	install -m ${MODE} cblfs/init.d/svn        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc0.d/K27svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc1.d/K27svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc2.d/K27svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc3.d/S33svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc4.d/S33svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc5.d/S33svn
+	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc6.d/K27svn
+
+install-syslog-ng: create-dirs
+	install -m ${MODE} cblfs/init.d/syslog-ng	${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc0.d/K90syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc1.d/S10syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc2.d/S10syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc3.d/S10syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc4.d/S10syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc5.d/S10syslog-ng
+	ln -sf ../init.d/syslog-ng ${EXTDIR}/rc.d/rc6.d/K90syslog-ng
+
+install-sysstat: create-dirs
+	install -m ${MODE} cblfs/init.d/sysstat    ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/sysstat ${EXTDIR}/rc.d/rcsysinit.d/S85sysstat
+
+install-usb: create-dirs
+	install -m ${MODE} cblfs/init.d/usb        ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/usb ${EXTDIR}/rc.d/rcsysinit.d/S90usb
+
+install-vsftpd: create-dirs
+	install -m ${MODE} cblfs/init.d/vsftpd     ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc0.d/K28vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc1.d/K28vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc2.d/K28vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc3.d/S32vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc4.d/S32vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc5.d/S32vsftpd
+	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc6.d/K28vsftpd
+
+install-winbind: create-dirs
+	install -m ${MODE} cblfs/init.d/winbind    ${EXTDIR}/rc.d/init.d/
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc0.d/K49winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc1.d/K49winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc2.d/K49winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc3.d/S50winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc4.d/S50winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc5.d/S50winbind
+	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc6.d/K49winbind
+
+install-xinetd: create-dirs
+	install -m ${MODE} cblfs/init.d/xinetd     ${EXTDIR}/rc.d/init.d/
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc0.d/K49xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc1.d/K49xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc2.d/K49xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc3.d/S23xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc4.d/S23xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc5.d/S23xinetd
+	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc6.d/K49xinetd
+
+uninstall-alsa:
+	rm -f ${EXTDIR}/rc.d/init.d/alsa
+	rm -f ${EXTDIR}/rc.d/rc0.d/K35alsa
+	rm -f ${EXTDIR}/rc.d/rc1.d/K35alsa
+	rm -f ${EXTDIR}/rc.d/rc6.d/K35alsa
+
+uninstall-apache:
+	rm -f ${EXTDIR}/rc.d/init.d/apache
+	rm -f ${EXTDIR}/rc.d/rc0.d/K28apache
+	rm -f ${EXTDIR}/rc.d/rc1.d/K28apache
+	rm -f ${EXTDIR}/rc.d/rc2.d/K28apache
+	rm -f ${EXTDIR}/rc.d/rc3.d/S32apache
+	rm -f ${EXTDIR}/rc.d/rc4.d/S32apache
+	rm -f ${EXTDIR}/rc.d/rc5.d/S32apache
+	rm -f ${EXTDIR}/rc.d/rc6.d/K28apache
+
+uninstall-autofs:
+	rm -f $(EXTDIR)/rc.d/init.d/autofs
+	rm -f $(EXTDIR)/rc.d/rcsysinit.d/S52autofs
+
+uninstall-bind:
+	rm -f ${EXTDIR}/rc.d/init.d/bind
+	rm -f ${EXTDIR}/rc.d/rc0.d/K49bind
+	rm -f ${EXTDIR}/rc.d/rc1.d/K49bind
+	rm -f ${EXTDIR}/rc.d/rc2.d/K49bind
+	rm -f ${EXTDIR}/rc.d/rc3.d/S22bind
+	rm -f ${EXTDIR}/rc.d/rc4.d/S22bind
+	rm -f ${EXTDIR}/rc.d/rc5.d/S22bind
+	rm -f ${EXTDIR}/rc.d/rc6.d/K49bind
+
+uninstall-cluster-all:
+	rm -f ${EXTDIR}/rc.d/init.d/cluster
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15cluster
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15cluster
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15cluster
+	rm -f ${EXTDIR}/rc.d/rc3.d/S99cluster
+	rm -f ${EXTDIR}/rc.d/rc4.d/S99cluster
+	rm -f ${EXTDIR}/rc.d/rc5.d/S99cluster
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15cluster
+
+uninstall-cups:
+	rm -f ${EXTDIR}/rc.d/init.d/cups
+	rm -f ${EXTDIR}/rc.d/rc0.d/K00cups
+	rm -f ${EXTDIR}/rc.d/rc1.d/K00cups
+	rm -f ${EXTDIR}/rc.d/rc2.d/S25cups
+	rm -f ${EXTDIR}/rc.d/rc3.d/S25cups
+	rm -f ${EXTDIR}/rc.d/rc4.d/S25cups
+	rm -f ${EXTDIR}/rc.d/rc5.d/S25cups
+	rm -f ${EXTDIR}/rc.d/rc6.d/K00cups
+
+uninstall-cyrus-sasl:
+	rm -f ${EXTDIR}/rc.d/init.d/cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc0.d/K49cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc1.d/K49cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc2.d/S24cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc3.d/S24cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc4.d/S24cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc5.d/S24cyrus-sasl
+	rm -f ${EXTDIR}/rc.d/rc6.d/K49cyrus-sasl
+
+uninstall-devmapper:
+	rm -f ${EXTDIR}/etc/rc.d/init.d/devmapper
+	rm -f ${EXTDIR}/etc/rc.d/rcsysinit.d/S15devmapper
+
+uninstall-dhcp:
+	rm -f ${EXTDIR}/rc.d/init.d/dhcp
+	rm -f ${EXTDIR}/rc.d/rc0.d/K30dhcp
+	rm -f ${EXTDIR}/rc.d/rc1.d/K30dhcp
+	rm -f ${EXTDIR}/rc.d/rc2.d/K30dhcp
+	rm -f ${EXTDIR}/rc.d/rc3.d/S30dhcp
+	rm -f ${EXTDIR}/rc.d/rc4.d/S30dhcp
+	rm -f ${EXTDIR}/rc.d/rc5.d/S30dhcp
+	rm -f ${EXTDIR}/rc.d/rc6.d/K30dhcp
+
+uninstall-exim:
+	rm -f ${EXTDIR}/rc.d/init.d/exim
+	rm -f ${EXTDIR}/rc.d/rc0.d/K25exim
+	rm -f ${EXTDIR}/rc.d/rc1.d/K25exim
+	rm -f ${EXTDIR}/rc.d/rc2.d/K25exim
+	rm -f ${EXTDIR}/rc.d/rc3.d/S35exim
+	rm -f ${EXTDIR}/rc.d/rc4.d/S35exim
+	rm -f ${EXTDIR}/rc.d/rc5.d/S35exim
+	rm -f ${EXTDIR}/rc.d/rc6.d/K25exim
+
+uninstall-fam:
+	rm -f ${EXTDIR}/rc.d/init.d/fam
+	rm -f ${EXTDIR}/rc.d/rc0.d/K37fam
+	rm -f ${EXTDIR}/rc.d/rc1.d/K37fam
+	rm -f ${EXTDIR}/rc.d/rc2.d/S23fam
+	rm -f ${EXTDIR}/rc.d/rc3.d/S23fam
+	rm -f ${EXTDIR}/rc.d/rc4.d/S23fam
+	rm -f ${EXTDIR}/rc.d/rc5.d/S23fam
+	rm -f ${EXTDIR}/rc.d/rc6.d/K39fam
+
+uninstall-fcron:
+	rm -f ${EXTDIR}/rc.d/init.d/fcron
+	rm -f ${EXTDIR}/rc.d/rc0.d/K08fcron
+	rm -f ${EXTDIR}/rc.d/rc1.d/K08fcron
+	rm -f ${EXTDIR}/rc.d/rc2.d/S40fcron
+	rm -f ${EXTDIR}/rc.d/rc3.d/S40fcron
+	rm -f ${EXTDIR}/rc.d/rc4.d/S40fcron
+	rm -f ${EXTDIR}/rc.d/rc5.d/S40fcron
+	rm -f ${EXTDIR}/rc.d/rc6.d/K08fcron
+
+uninstall-gdm:
+	rm -f ${EXTDIR}/rc.d/init.d/gdm
+	rm -f ${EXTDIR}/rc.d/rc0.d/K05gdm
+	rm -f ${EXTDIR}/rc.d/rc1.d/K05gdm
+	rm -f ${EXTDIR}/rc.d/rc2.d/K05gdm
+	rm -f ${EXTDIR}/rc.d/rc3.d/K05gdm
+	rm -f ${EXTDIR}/rc.d/rc4.d/K05gdm
+	rm -f ${EXTDIR}/rc.d/rc5.d/S95gdm
+	rm -f ${EXTDIR}/rc.d/rc6.d/K05gdm
+
+uninstall-gmetad:
+	rm -f ${EXTDIR}/rc.d/init.d/gmetad
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15gmetad
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15gmetad
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15gmetad
+	rm -f ${EXTDIR}/rc.d/rc3.d/S99gmetad
+	rm -f ${EXTDIR}/rc.d/rc4.d/S99gmetad
+	rm -f ${EXTDIR}/rc.d/rc5.d/S99gmetad
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15gmetad
+
+uninstall-gmond:
+	rm -f ${EXTDIR}/rc.d/init.d/gmond
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15gmond
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15gmond
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15gmond
+	rm -f ${EXTDIR}/rc.d/rc3.d/S99gmond
+	rm -f ${EXTDIR}/rc.d/rc4.d/S99gmond
+	rm -f ${EXTDIR}/rc.d/rc5.d/S99gmond
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15gmond
+
+uninstall-gpm:
+	rm -f ${EXTDIR}/rc.d/init.d/gpm
+	rm -f ${EXTDIR}/rc.d/rc0.d/K10gpm
+	rm -f ${EXTDIR}/rc.d/rc1.d/K10gpm
+	rm -f ${EXTDIR}/rc.d/rc2.d/S70gpm
+	rm -f ${EXTDIR}/rc.d/rc3.d/S70gpm
+	rm -f ${EXTDIR}/rc.d/rc4.d/S70gpm
+	rm -f ${EXTDIR}/rc.d/rc5.d/S70gpm
+	rm -f ${EXTDIR}/rc.d/rc6.d/K10gpm
+
+uninstall-heimdal:
+	rm -f ${EXTDIR}/rc.d/init.d/heimdal
+	rm -f ${EXTDIR}/rc.d/rc0.d/K42heimdal
+	rm -f ${EXTDIR}/rc.d/rc1.d/K42heimdal
+	rm -f ${EXTDIR}/rc.d/rc2.d/K42heimdal
+	rm -f ${EXTDIR}/rc.d/rc3.d/S28heimdal
+	rm -f ${EXTDIR}/rc.d/rc4.d/S28heimdal
+	rm -f ${EXTDIR}/rc.d/rc5.d/S28heimdal
+	rm -f ${EXTDIR}/rc.d/rc6.d/K42heimdal
+
+uninstall-iptables:
+	rm -f ${EXTDIR}/rc.d/init.d/iptables
+	rm -f ${EXTDIR}/rc.d/rc3.d/S19iptables
+	rm -f ${EXTDIR}/rc.d/rc4.d/S19iptables
+	rm -f ${EXTDIR}/rc.d/rc5.d/S19iptables
+
+uninstall-kerberos:
+	rm -f ${EXTDIR}/rc.d/init.d/kerberos
+	rm -f ${EXTDIR}/rc.d/rc0.d/K42kerberos
+	rm -f ${EXTDIR}/rc.d/rc1.d/K42kerberos
+	rm -f ${EXTDIR}/rc.d/rc2.d/K42kerberos
+	rm -f ${EXTDIR}/rc.d/rc3.d/S28kerberos
+	rm -f ${EXTDIR}/rc.d/rc4.d/S28kerberos
+	rm -f ${EXTDIR}/rc.d/rc5.d/S28kerberos
+	rm -f ${EXTDIR}/rc.d/rc6.d/K42kerberos
+
+uninstall-lisa:
+	rm -f ${EXTDIR}/rc.d/init.d/lisa
+	rm -f ${EXTDIR}/rc.d/rc0.d/K35lisa
+	rm -f ${EXTDIR}/rc.d/rc1.d/K35lisa
+	rm -f ${EXTDIR}/rc.d/rc2.d/K35lisa
+	rm -f ${EXTDIR}/rc.d/rc3.d/S30lisa
+	rm -f ${EXTDIR}/rc.d/rc4.d/S30lisa
+	rm -f ${EXTDIR}/rc.d/rc5.d/S30lisa
+	rm -f ${EXTDIR}/rc.d/rc6.d/K35lisa
+
+uninstall-lprng:
+	rm -f ${EXTDIR}/rc.d/init.d/lprng
+	rm -f ${EXTDIR}/rc.d/rc0.d/K00lprng
+	rm -f ${EXTDIR}/rc.d/rc1.d/K00lprng
+	rm -f ${EXTDIR}/rc.d/rc2.d/S99lprng
+	rm -f ${EXTDIR}/rc.d/rc3.d/S99lprng
+	rm -f ${EXTDIR}/rc.d/rc4.d/S99lprng
+	rm -f ${EXTDIR}/rc.d/rc5.d/S99lprng
+	rm -f ${EXTDIR}/rc.d/rc6.d/K00lprng
+
+uninstall-maui:
+	rm -f ${EXTDIR}/rc.d/init.d/maui
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15maui
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15maui
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15maui
+	rm -f ${EXTDIR}/rc.d/rc3.d/S50maui
+	rm -f ${EXTDIR}/rc.d/rc4.d/S50maui
+	rm -f ${EXTDIR}/rc.d/rc5.d/S50maui
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15maui
+
+uninstall-momclient:
+	rm -f ${EXTDIR}/rc.d/init.d/momclient
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15momclient
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15momclient
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15momclient
+	rm -f ${EXTDIR}/rc.d/rc3.d/S35momclient
+	rm -f ${EXTDIR}/rc.d/rc4.d/S35momclient
+	rm -f ${EXTDIR}/rc.d/rc5.d/S35momclient
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15momclient
+
+uninstall-mpich2:
+	rm -f ${EXTDIR}/rc.d/init.d/mpd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15mpd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15mpd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15mpd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S99mpd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S99mpd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S99mpd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15mpd
+
+uninstall-mysql:
+	rm -f ${EXTDIR}/rc.d/init.d/mysql
+	rm -f ${EXTDIR}/rc.d/rc0.d/K26mysql
+	rm -f ${EXTDIR}/rc.d/rc1.d/K26mysql
+	rm -f ${EXTDIR}/rc.d/rc2.d/K26mysql
+	rm -f ${EXTDIR}/rc.d/rc3.d/S34mysql
+	rm -f ${EXTDIR}/rc.d/rc4.d/S34mysql
+	rm -f ${EXTDIR}/rc.d/rc5.d/S34mysql
+	rm -f ${EXTDIR}/rc.d/rc6.d/K26mysql
+
+uninstall-nas:
+	rm -f ${EXTDIR}/rc.d/init.d/nas
+	rm -f ${EXTDIR}/rc.d/rc0.d/K35nas
+	rm -f ${EXTDIR}/rc.d/rc1.d/K35nas
+	rm -f ${EXTDIR}/rc.d/rc2.d/K35nas
+	rm -f ${EXTDIR}/rc.d/rc3.d/S30nas
+	rm -f ${EXTDIR}/rc.d/rc4.d/S30nas
+	rm -f ${EXTDIR}/rc.d/rc5.d/S30nas
+	rm -f ${EXTDIR}/rc.d/rc6.d/K35nas
+
+uninstall-netfs:
+	rm -f ${EXTDIR}/rc.d/init.d/netfs
+	rm -f ${EXTDIR}/rc.d/rc0.d/K47netfs
+	rm -f ${EXTDIR}/rc.d/rc1.d/K47netfs
+	rm -f ${EXTDIR}/rc.d/rc2.d/K47netfs
+	rm -f ${EXTDIR}/rc.d/rc3.d/S28netfs
+	rm -f ${EXTDIR}/rc.d/rc4.d/S28netfs
+	rm -f ${EXTDIR}/rc.d/rc5.d/S28netfs
+	rm -f ${EXTDIR}/rc.d/rc6.d/K47netfs
+
+uninstall-nfs-client:
+	rm -f ${EXTDIR}/rc.d/init.d/nfs-client
+	rm -f ${EXTDIR}/rc.d/rc0.d/K48nfs-client
+	rm -f ${EXTDIR}/rc.d/rc1.d/K48nfs-client
+	rm -f ${EXTDIR}/rc.d/rc2.d/K48nfs-client
+	rm -f ${EXTDIR}/rc.d/rc3.d/S24nfs-client
+	rm -f ${EXTDIR}/rc.d/rc4.d/S24nfs-client
+	rm -f ${EXTDIR}/rc.d/rc5.d/S24nfs-client
+	rm -f ${EXTDIR}/rc.d/rc6.d/K48nfs-client
+
+uninstall-nfs-server:
+	rm -f ${EXTDIR}/rc.d/init.d/nfs-server
+	rm -f ${EXTDIR}/rc.d/rc0.d/K48nfs-server
+	rm -f ${EXTDIR}/rc.d/rc1.d/K48nfs-server
+	rm -f ${EXTDIR}/rc.d/rc2.d/K48nfs-server
+	rm -f ${EXTDIR}/rc.d/rc3.d/S24nfs-server
+	rm -f ${EXTDIR}/rc.d/rc4.d/S24nfs-server
+	rm -f ${EXTDIR}/rc.d/rc5.d/S24nfs-server
+	rm -f ${EXTDIR}/rc.d/rc6.d/K48nfs-server
+
+uninstall-ntp:
+	rm -f ${EXTDIR}/rc.d/init.d/ntp
+	rm -f ${EXTDIR}/rc.d/rc0.d/K46ntp
+	rm -f ${EXTDIR}/rc.d/rc1.d/K46ntp
+	rm -f ${EXTDIR}/rc.d/rc2.d/K46ntp
+	rm -f ${EXTDIR}/rc.d/rc3.d/S26ntp
+	rm -f ${EXTDIR}/rc.d/rc4.d/S26ntp
+	rm -f ${EXTDIR}/rc.d/rc5.d/S26ntp
+	rm -f ${EXTDIR}/rc.d/rc6.d/K46ntp
+
+uninstall-openldap1:
+	rm -f ${EXTDIR}/rc.d/init.d/openldap
+	rm -f ${EXTDIR}/rc.d/rc0.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc1.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc2.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc3.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc4.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc5.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc6.d/K46openldap
+
+uninstall-openldap2:
+	rm -f ${EXTDIR}/rc.d/init.d/openldap
+	rm -f ${EXTDIR}/rc.d/rc0.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc1.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc2.d/K46openldap
+	rm -f ${EXTDIR}/rc.d/rc3.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc4.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc5.d/S25openldap
+	rm -f ${EXTDIR}/rc.d/rc6.d/K46openldap
+
+uninstall-pbsserver:
+	rm -f ${EXTDIR}/rc.d/init.d/pbsserver
+	rm -f ${EXTDIR}/rc.d/rc0.d/K15pbsserver
+	rm -f ${EXTDIR}/rc.d/rc1.d/K15pbsserver
+	rm -f ${EXTDIR}/rc.d/rc2.d/K15pbsserver
+	rm -f ${EXTDIR}/rc.d/rc3.d/S25pbsserver
+	rm -f ${EXTDIR}/rc.d/rc4.d/S25pbsserver
+	rm -f ${EXTDIR}/rc.d/rc5.d/S25pbsserver
+	rm -f ${EXTDIR}/rc.d/rc6.d/K15pbsserver
+
+uninstall-portmap:
+	rm -f ${EXTDIR}/rc.d/init.d/portmap
+	rm -f ${EXTDIR}/rc.d/rc0.d/K49portmap
+	rm -f ${EXTDIR}/rc.d/rc1.d/K49portmap
+	rm -f ${EXTDIR}/rc.d/rc2.d/K49portmap
+	rm -f ${EXTDIR}/rc.d/rc3.d/S22portmap
+	rm -f ${EXTDIR}/rc.d/rc4.d/S22portmap
+	rm -f ${EXTDIR}/rc.d/rc5.d/S22portmap
+	rm -f ${EXTDIR}/rc.d/rc6.d/K49portmap
+
+uninstall-postfix:
+	rm -f ${EXTDIR}/rc.d/init.d/postfix
+	rm -f ${EXTDIR}/rc.d/rc0.d/K25postfix
+	rm -f ${EXTDIR}/rc.d/rc1.d/K25postfix
+	rm -f ${EXTDIR}/rc.d/rc2.d/K25postfix
+	rm -f ${EXTDIR}/rc.d/rc3.d/S35postfix
+	rm -f ${EXTDIR}/rc.d/rc4.d/S35postfix
+	rm -f ${EXTDIR}/rc.d/rc5.d/S35postfix
+	rm -f ${EXTDIR}/rc.d/rc6.d/K25postfix
+
+uninstall-postgresql:
+	rm -f ${EXTDIR}/rc.d/init.d/postgresql
+	rm -f ${EXTDIR}/rc.d/rc0.d/K26postgresql
+	rm -f ${EXTDIR}/rc.d/rc1.d/K26postgresql
+	rm -f ${EXTDIR}/rc.d/rc2.d/K26postgresql
+	rm -f ${EXTDIR}/rc.d/rc3.d/S34postgresql
+	rm -f ${EXTDIR}/rc.d/rc4.d/S34postgresql
+	rm -f ${EXTDIR}/rc.d/rc5.d/S34postgresql
+	rm -f ${EXTDIR}/rc.d/rc6.d/K26postgresql
+
+uninstall-proftpd:
+	rm -f ${EXTDIR}/rc.d/init.d/proftpd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K28proftpd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K28proftpd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K28proftpd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S32proftpd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S32proftpd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S32proftpd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K28proftpd
+
+uninstall-random:
+	rm -f ${EXTDIR}/rc.d/init.d/random
+	rm -f ${EXTDIR}/rc.d/rc0.d/K45random
+	rm -f ${EXTDIR}/rc.d/rc1.d/S25random
+	rm -f ${EXTDIR}/rc.d/rc2.d/S25random
+	rm -f ${EXTDIR}/rc.d/rc3.d/S25random
+	rm -f ${EXTDIR}/rc.d/rc4.d/S25random
+	rm -f ${EXTDIR}/rc.d/rc5.d/S25random
+	rm -f ${EXTDIR}/rc.d/rc6.d/K45random
+
+uninstall-rsyncd:
+	rm -f ${EXTDIR}/rc.d/init.d/rsyncd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S30rsyncd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K30rsyncd
+
+uninstall-samba:
+	rm -f ${EXTDIR}/rc.d/init.d/samba
+	rm -f ${EXTDIR}/rc.d/rc0.d/K48samba
+	rm -f ${EXTDIR}/rc.d/rc1.d/K48samba
+	rm -f ${EXTDIR}/rc.d/rc2.d/K48samba
+	rm -f ${EXTDIR}/rc.d/rc3.d/S45samba
+	rm -f ${EXTDIR}/rc.d/rc4.d/S45samba
+	rm -f ${EXTDIR}/rc.d/rc5.d/S45samba
+	rm -f ${EXTDIR}/rc.d/rc6.d/K48samba
+
+uninstall-sendmail:
+	rm -f ${EXTDIR}/rc.d/init.d/sendmail
+	rm -f ${EXTDIR}/rc.d/rc0.d/K25sendmail
+	rm -f ${EXTDIR}/rc.d/rc1.d/K25sendmail
+	rm -f ${EXTDIR}/rc.d/rc2.d/K25sendmail
+	rm -f ${EXTDIR}/rc.d/rc3.d/S35sendmail
+	rm -f ${EXTDIR}/rc.d/rc4.d/S35sendmail
+	rm -f ${EXTDIR}/rc.d/rc5.d/S35sendmail
+	rm -f ${EXTDIR}/rc.d/rc6.d/K25sendmail
+
+uninstall-sysklogd:
+	rm -f ${EXTDIR}/rc.d/init.d/sysklogd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K90sysklogd
+	rm -f ${EXTDIR}/rc.d/rc1.d/S10sysklogd
+	rm -f ${EXTDIR}/rc.d/rc2.d/S10sysklogd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S10sysklogd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S10sysklogd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S10sysklogd
+	rm -f ${EXTDIR}/rc.d/rc6.d/S10sysklogd
+
+uninstall-sshd:
+	rm -f ${EXTDIR}/rc.d/init.d/sshd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K30sshd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K30sshd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K30sshd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S30sshd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S30sshd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S30sshd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K30sshd
+
+uninstall-stunnel:
+	rm -f ${EXTDIR}/rc.d/init.d/stunnel
+	rm -f ${EXTDIR}/rc.d/rc0.d/K47stunnel
+	rm -f ${EXTDIR}/rc.d/rc1.d/K47stunnel
+	rm -f ${EXTDIR}/rc.d/rc2.d/K47stunnel
+	rm -f ${EXTDIR}/rc.d/rc3.d/S55stunnel
+	rm -f ${EXTDIR}/rc.d/rc4.d/S55stunnel
+	rm -f ${EXTDIR}/rc.d/rc5.d/S55stunnel
+	rm -f ${EXTDIR}/rc.d/rc6.d/K47stunnel
+
+uninstall-svn:
+	rm -f ${EXTDIR}/rc.d/init.d/svn
+	rm -f ${EXTDIR}/rc.d/rc0.d/K27svn
+	rm -f ${EXTDIR}/rc.d/rc1.d/K27svn
+	rm -f ${EXTDIR}/rc.d/rc2.d/K27svn
+	rm -f ${EXTDIR}/rc.d/rc3.d/S33svn
+	rm -f ${EXTDIR}/rc.d/rc4.d/S33svn
+	rm -f ${EXTDIR}/rc.d/rc5.d/S33svn
+	rm -f ${EXTDIR}/rc.d/rc6.d/K27svn
+
+uninstall-syslog-ng:
+	rm -f ${EXTDIR}/rc.d/init.d/syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc0.d/K90syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc1.d/S10syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc2.d/S10syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc3.d/S10syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc4.d/S10syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc5.d/S10syslog-ng
+	rm -f ${EXTDIR}/rc.d/rc6.d/K90syslog-ng
+
+uninstall-sysstat:
+	rm -f ${EXTDIR}/rc.d/init.d/sysstat
+	rm -f ${EXTDIR}/rc.d/rcsysinit.d/S85sysstat
+
+uninstall-usb:
+	rm -f ${EXTDIR}/rc.d/init.d/usb
+	rm -f ${EXTDIR}/rc.d/rcsysinit.d/S90usb
+
+uninstall-vsftpd:
+	rm -f ${EXTDIR}/rc.d/init.d/vsftpd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K28vsftpd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K28vsftpd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K28vsftpd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S32vsftpd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S32vsftpd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S32vsftpd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K28vsftpd
+
+uninstall-winbind:
+	rm -f ${EXTDIR}/rc.d/init.d/winbind
+	rm -f ${EXTDIR}/rc.d/rc0.d/K49winbind
+	rm -f ${EXTDIR}/rc.d/rc1.d/K49winbind
+	rm -f ${EXTDIR}/rc.d/rc2.d/K49winbind
+	rm -f ${EXTDIR}/rc.d/rc3.d/S50winbind
+	rm -f ${EXTDIR}/rc.d/rc4.d/S50winbind
+	rm -f ${EXTDIR}/rc.d/rc5.d/S50winbind
+	rm -f ${EXTDIR}/rc.d/rc6.d/K49winbind
+
+uninstall-xinetd:
+	rm -f ${EXTDIR}/rc.d/init.d/xinetd
+	rm -f ${EXTDIR}/rc.d/rc0.d/K49xinetd
+	rm -f ${EXTDIR}/rc.d/rc1.d/K49xinetd
+	rm -f ${EXTDIR}/rc.d/rc2.d/K49xinetd
+	rm -f ${EXTDIR}/rc.d/rc3.d/S23xinetd
+	rm -f ${EXTDIR}/rc.d/rc4.d/S23xinetd
+	rm -f ${EXTDIR}/rc.d/rc5.d/S23xinetd
+	rm -f ${EXTDIR}/rc.d/rc6.d/K49xinetd
+
+.PHONY: all create-dirs create-service-dir \
+	install \
+	install-bootscripts \
+	install-network \
+	install-dhcpcd \
+	install-service-mtu \
+	minimal \
+	install-lcd \
+	install-raq2 \
+	install-raq3 \
+	install-service-dhclient \
+	install-service-dhcpcd \
+	install-service-ipx \
+	install-service-pppoe \
+	install-alsa \
+	install-apache \
+	install-bind \
+	install-cups \
+	install-cyrus-sasl \
+	install-devmapper \
+	install-dhcp \
+	install-exim \
+	install-fcron \
+	install-gdm \
+	install-gpm \
+	install-heimdal \
+	install-iptables \
+	install-kerberos \
+	install-lisa \
+	install-lprng \
+	install-mysql \
+	install-nas \
+	install-netfs \
+	install-nfs-client \
+	install-nfs-server \
+	install-ntp \
+	install-openldap1 \
+	install-openldap2 \
+	install-portmap \
+	install-postfix \
+	install-postgresql \
+	install-proftpd \
+	install-random \
+	install-rsync \
+	install-samba \
+	install-sendmail \
+	install-sshd \
+	install-stunnel \
+	install-svn \
+	install-sysklogd \
+	install-syslog-ng \
+	install-sysstat \
+	install-vsftpd \
+	install-usb \
+	install-winbind \
+	install-xinetd \
+	uninstall-alsa \
+	uninstall-apache \
+	uninstall-bind \
+	uninstall-cups \
+	uninstall-cyrus-sasl \
+	uninstall-devmapper \
+	uninstall-dhcp \
+	uninstall-exim \
+	uninstall-fcron \
+	uninstall-gdm \
+	uninstall-gpm \
+	uninstall-heimdal \
+	uninstall-iptables \
+	uninstall-kerberos \
+	uninstall-lisa \
+	uninstall-lprng \
+	uninstall-mysql \
+	uninstall-nas \
+	uninstall-netfs \
+	uninstall-nfs-client \
+	uninstall-nfs-server \
+	uninstall-ntp \
+	uninstall-openldap1 \
+	uninstall-openldap2 \
+	uninstall-portmap \
+	uninstall-postfix \
+	uninstall-postgresql \
+	uninstall-proftpd \
+	uninstall-random \
+	uninstall-rsync \
+	uninstall-samba \
+	uninstall-sendmail \
+	uninstall-sshd \
+	uninstall-stunnel \
+	uninstall-svn \
+	uninstall-syslog-ng \
+	uninstall-sysstat \
+	uninstall-vsftpd \
+	uninstall-usb \
+	uninstall-winbind \
+	uninstall-xinetd
Index: bootscripts/README
===================================================================
--- bootscripts/README	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/README	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,79 @@
+Network Configuration:
+	Script Files:
+		rc.d/init.d/network
+		sysconfig/network-devices/ifup
+		sysconfig/network-devices/ifdown
+		sysconfig/network-devices/services/*
+
+	Configuration Files:
+		sysconfig/network-devices/ifconfig.*/*
+		Note: ifconfig.* could be either a file or directory,
+		      but the filename extension must be the same name
+					as the network interface you wish it to belong to.
+					The files within the directory will be processed
+					in alphanumerical order on boot, and reversed on
+					shutdown.
+		- SERVICE: which script to run in services directory.
+		- ONBOOT: if set to yes, this interface will be started on
+		          bootup, and stopped on shutdown
+		- ONHOTPLUG: if set to yes, this interface will be started
+		             and stopped on hotplug events.  This requires
+		             ifup and ifdown symlinked to /sbin, as well
+		             as the hotplug package
+
+		sysconfig/network
+		- HOSTNAME: Value of the system's hostname
+
+	Additional Configuration:
+		sysconfig/network-devices/ifconfig.*
+		ipv4-static:
+		- IP: static IP Address
+		- GATEWAY: Specifies the IP Address of the gateway server
+		- PREFIX: CIDR prefix of IP Address, defaults to 24 if not set
+		- PEER: IP Address of peer (for point-to-point connections and tunnels)
+		- BROADCAST: broadcast address
+		ipv4-static-route:
+		- TYPE: network (default type if not specified), default, host or
+		  unreachable
+		- IP: IP Address of target (for network, host and unreachable)
+		- PREFIX: CIDR prefix of target (for network, host and unreachable)
+		- GATEWAY: IP Address of gateway to reach target (for network and default)
+
+
+SetClock configuration:
+	Script Files:
+		rc.d/init.d/setclock
+
+	Configuration Files:
+		sysconfig/clock
+		- UTC: 1 assumes hwclock is in UTC
+		       0 assumes hwclock is in local time
+
+CleanFS configuration:
+	Script Files:
+		rc.d/init.d/cleanfs
+
+	Configuration Files:
+		/etc/sysconfig/createfiles
+		Each line is parsed, using space as a deliminator.
+		[NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
+		The below fields are currently only used on dev type.
+		([DEV TYPE] [MAJOR#] [MINOR#])
+		Name:
+			File/Directory/Device name
+		Type:
+			dir: creates a directory
+			file: creates a file
+			dev: creates a device
+		Permissions:
+			chmod the created file
+		User/Group:
+			chown the created file/dir to this user/group
+		Dev Type:
+			char:  character [needs MAJOR#, MINOR#]
+			block: block [needs MAJOR#, MINOR#]
+			pipe:  pipe
+		Major#:
+			Used by character and block devices.
+		Minor#:
+			Used by character and block devices.
Index: bootscripts/cblfs/init.d/alsa
===================================================================
--- bootscripts/cblfs/init.d/alsa	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/alsa	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,29 @@
+#!/bin/bash
+# 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
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	stop)
+		boot_mesg "Stopping ALSA...    Saving volumes..."
+		loadproc /usr/sbin/alsactl store
+		#boot_mesg "                    Removing MIDI font..."
+		#loadproc sfxload -i
+		;;
+
+	*)
+		echo "Usage: $0 stop"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/alsa
Index: bootscripts/cblfs/init.d/apache
===================================================================
--- bootscripts/cblfs/init.d/apache	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/apache	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,42 @@
+#!/bin/bash
+# Begin $rc_base/init.d/apache
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting Apache daemon..."
+		/usr/sbin/apachectl -k start
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Stopping Apache daemon..."
+		/usr/sbin/apachectl -k stop
+		evaluate_retval
+		;;
+
+	restart)
+		boot_mesg "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
+
+# End $rc_base/init.d/apache
Index: bootscripts/cblfs/init.d/autofs
===================================================================
--- bootscripts/cblfs/init.d/autofs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/autofs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,193 @@
+#!/bin/bash
+#
+# Autofs Boot Script
+#
+# Filename:     /etc/rc.d/init.d/autofs
+#
+# Author:       Bryan Mason <bmason@bmason.com>
+#
+# Edit History:
+#
+# Date         Author        Action
+# ----------------------------------------------------------------------
+# 20 Jan 2004  B. Mason      Created by modifying original autofs 
+#                            script created by Peter Anvin
+# 20 Mar 2004  B. Mason      Modified to create mountpoints if they
+#                            don't already exist.
+
+source /etc/sysconfig/rc
+source $rc_functions
+source /etc/sysconfig/autofs.conf
+
+#
+# This function will build a list of automount commands to execute in
+# order to activate all the mount points. It is used to figure out
+# the difference of automount points in case of a reload
+#
+function getmounts()
+{
+    if [ -f /etc/auto.master ]
+    then
+        cat /etc/auto.master | sed -e '/^#/d' -e '/^$/d'| 
+        (
+            while read dir map options
+            do
+            if [ ! -z "$dir" -a ! -z "$map" \
+                -a x$(echo "$map" | cut -c1) != 'x-' ]
+                then
+                    map=$(echo "/etc/$map" | sed -e 's:^/etc//:/:')
+                    options=$(echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g')
+                    if [ -x $map ]; then
+                        echo "  $dir program $map $options"
+                    else 
+                        echo "  $dir file $map $options"
+                    fi
+                fi
+            done
+        )
+    fi
+}
+
+#
+# Show the status of configured and active mounts.
+#
+function status()
+{
+    echo "Configured Mount Points:"
+    getmounts |
+    (
+        while read dir type map options
+        do
+            echo $dir $type $map $options
+
+            if [ $type = 'file' ]
+            then
+                cat $map | sed -e '/^#/d' -e '/^$/d' |
+                (
+                    while read key options location
+                    do
+                        echo "  $key $options $location"
+                    done
+                )
+                echo ""
+            fi 
+        done
+    )
+
+    echo "Active Automount Daemons:"
+    if [ $(COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " | wc -w) -gt 0 ]
+    then
+        COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " | 
+        (
+            while read pid tt stat time command; do echo "  $command" ; done
+        )
+    else
+         echo "  None";
+    fi
+    echo ""
+
+    echo "Actively Automounted Directories:"
+    getmounts |
+    (
+        while read dir type map options
+        do
+            line=$(mount | grep -v "^automount" | grep "$dir")
+            if [ $(echo $line | wc -w) -ne 0 ]
+                then
+                echo "$line" | sed -e "s/^./  &/"  
+            fi
+        done
+    )
+    echo ""
+}
+
+case "$1" in 
+    start)
+        getmounts | 
+        (
+            while read dir type map options
+            do 
+                boot_mesg -n "Automounting $dir..."
+                pidfile=$(echo $dir | sed -e "y/\//-/" | sed -e "s/^-//")
+                pidpath=${piddir}/${pidroot}.${pidfile}.pid
+
+                if [ ! -d "$dir" ]
+                then
+                    boot_mesg -n " Creating mountpoint $dir..."
+                    mkdir -p "$dir"
+                fi
+
+                if [ ! -e "$map" ]
+                then
+                    boot_mesg "Map file $map does not exist!" ${FAILURE}
+                    echo_failed
+                    continue
+                fi
+
+                if [ ! -x "$map" -a "$type" = "program" ]
+                then
+                    boot_mesg "Map file $map is not executable!" ${FAILURE}
+                    echo_failed
+                    continue
+                fi
+
+                if [ -e "$pidpath" ]
+                then
+                    boot_mesg " already running!" ${WARNING}
+                    echo_warning
+                else
+                    echo " "
+                    $automount -p $pidpath $daemonoptions $dir $type $map $options $localoptions
+                    evaluate_retval
+                fi
+            done 
+        )
+        ;;
+
+    stop)
+        # Kill all automounters listed in /var/run
+        ls ${piddir}/${pidroot}.*.pid 2>/dev/null |
+        (
+            while read pidpath
+            do
+                pid=$(cat $pidpath)
+                pidfile=$(basename $pidpath)
+                mountpoint=$(echo $pidfile | sed -e "s/^autofs\.\(.*\)\.pid$/\1/" | sed -e "y/-/\//")
+                boot_mesg "Stopping automount on /$mountpoint..."
+                kill $pid
+                evaluate_retval
+            done
+        )
+
+        # Now kill any rogue automounters (automount process w/o pid files)
+        sleep 1
+        COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " |
+        (
+            while read pid everything_else
+            do
+                boot_mesg "Stopping automount with pid $pid..."
+                kill $pid
+                evaluate_retval
+            done
+        )
+        ;;
+
+    restart)
+        $0 stop
+        sleep 1
+        $0 start
+        ;;
+
+    status)
+        status
+        ;;
+
+    *)
+        echo "usage: $0 {start|stop|restart|status}"
+        exit 1
+        ;;
+esac
+
+
+# END
+
Index: bootscripts/cblfs/init.d/bind
===================================================================
--- bootscripts/cblfs/init.d/bind	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/bind	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,46 @@
+#!/bin/bash
+# Begin $rc_base/init.d/bind
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-06-08 22:01:47 -0500 (Thu, 08 Jun 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting named..."
+		loadproc /usr/sbin/named -u named -t /srv/named -c \
+			/etc/named.conf
+		;;
+
+	stop)
+		boot_mesg "Stopping named..."
+		killproc /usr/sbin/named
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	reload)
+		boot_mesg "Reloading named..."
+		/usr/sbin/rndc -c /etc/rndc.conf reload
+		;;
+
+	status)
+		statusproc /usr/sbin/named
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/bind
Index: bootscripts/cblfs/init.d/cluster
===================================================================
--- bootscripts/cblfs/init.d/cluster	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/cluster	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,114 @@
+#!/bin/bash
+#
+# Begin $rc_base/init.d/cluster
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-31
+#
+# Starts all of the services required for the cluster.
+#
+#	PBS Server
+#	MOM Client
+#	Maui Scheduler
+#	Ganglia Monitor Daemon
+#	Ganglia Meta-Monitor Daemon
+#	MPICH2 Process Monitor
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+
+    start)
+        echo "#-------------------------------------------#"
+        echo "Starting cluster services:"
+
+        # If the server daemon exists, then start it.
+        if [ -f /usr/sbin/pbs_server ]; then
+            boot_mesg "TORQUE PBS Server found; starting..."
+            loadproc /usr/sbin/pbs_server
+        fi
+
+        # If the mom daemon exists, then start it.
+        if [ -f /usr/sbin/pbs_mom ]; then
+            boot_mesg "TORQUE MOM Client found; starting..."
+            loadproc /usr/sbin/pbs_mom
+        fi
+
+        # If Maui Scheduler services exist on this node, then start it.
+        if [ -f /usr/sbin/maui ]; then
+            boot_mesg "Maui Batch scheduler found; starting..."
+            loadproc /usr/sbin/maui
+        fi
+
+        # If Ganglia monitor daemon exists, then start it.
+        if [ -f /usr/sbin/gmond ]; then
+            boot_mesg "Ganglia Monitoring Daemon found; starting..."
+            loadproc /usr/sbin/gmond
+        fi
+
+        # If Ganglia meta monitor daemon exists, start it.
+        if [ -f /usr/sbin/gmetad ]; then
+            boot_mesg "Ganglia Meta-Monitoring Daemon found; starting..."
+            loadproc /usr/sbin/gmetad
+        fi
+
+        # If MPICH2 process manager exists, then start it.
+        if [ -f /usr/sbin/mpd ]; then
+            boot_mesg "MPICH2 Process Manager found; starting..."
+            loadproc /usr/sbin/mpd
+        fi
+
+        echo "Cluster services running"
+        echo "#-------------------------------------------#"
+        ;;
+
+	stop)
+		echo "#-------------------------------------------#"
+        echo "Shutting down cluster services:"
+
+        boot_mesg "Stopping MPICH2 Process Monitor..."
+        killproc mpd
+        boot_mesg "Stopping Ganglia Meta-Monitoring Daemon..."
+        killproc gmetad
+        boot_mesg "Stopping Ganglia Monitoring Daemon..."
+        killproc gmond
+        boot_mesg "Stopping Maui Batch Scheduler..."
+        killproc maui
+        boot_mesg "Stopping TORQUE MOM Client ..."
+        killproc pbs_mom
+        boot_mesg "Stopping TORQUE PBS Server ..."
+        killproc pbs_server
+        echo "Cluster services stopped"
+        echo "#-------------------------------------------#"
+        ;;
+
+	restart)
+		$0 stop
+		$0 start
+		;;
+
+	status)
+		echo "#-------------------------------------------#"
+        echo "Status of cluster services:"
+        statusproc /usr/sbin/pbs_server
+        statusproc /usr/sbin/pbs_mom
+        statusproc /usr/sbin/maui
+        statusproc /usr/sbin/gmond
+        statusproc /usr/sbin/gmetad
+        statusproc /usr/sbin/mpd
+        echo "#-------------------------------------------#"
+        ;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+
+esac
+
+exit 0
+
+# End $rc_base/init.d/cluster
Index: bootscripts/cblfs/init.d/cups
===================================================================
--- bootscripts/cblfs/init.d/cups	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/cups	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,44 @@
+#!/bin/bash
+# Begin $rc_base/init.d/cups
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+# Start or stop the CUPS server based upon the first argument to the script.
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case $1 in
+	start)
+		boot_mesg "Starting CUPS Printserver..."
+		loadproc /usr/sbin/cupsd
+		;;
+
+	stop)
+		boot_mesg "Stopping CUPS Printserver..."
+		killproc /usr/sbin/cupsd
+		;;
+
+	reload)
+		boot_mesg "Reloading CUPS Printserver..."
+		reloadproc /usr/sbin/cupsd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/cupsd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/cups
Index: bootscripts/cblfs/init.d/cyrus-sasl
===================================================================
--- bootscripts/cblfs/init.d/cyrus-sasl	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/cyrus-sasl	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/cyrus-sasl
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting the Cyrus SASL Server..."
+		loadproc /usr/sbin/saslauthd -a [authmech]
+		;;
+
+	stop)
+		boot_mesg "Stopping the Cyrus SASL Server..."
+		killproc /usr/sbin/saslauthd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/saslauthd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/cyrus-sasl
Index: bootscripts/cblfs/init.d/dbus
===================================================================
--- bootscripts/cblfs/init.d/dbus	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/dbus	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/messagebus
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: dnicholson $
+#$Date: 2007-07-09 18:30:26 -0500 (Mon, 09 Jul 2007) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/dbus/pid
+socket=/var/run/dbus/system_bus_socket
+
+case "$1" in
+        start)
+                boot_mesg "Starting the D-Bus Messagebus Daemon..."
+                /usr/bin/dbus-uuidgen --ensure
+                loadproc -p "$pidfile" /usr/bin/dbus-daemon --system
+                ;;
+
+        stop)
+                boot_mesg "Stopping the D-Bus Messagebus Daemon..."
+                killproc -p "$pidfile" /usr/bin/dbus-daemon
+                [ $? -eq 0 ] && rm -f "$socket"
+                ;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc -p "$pidfile" /usr/bin/dbus-daemon
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|restart|status}"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/messagebus
Index: bootscripts/cblfs/init.d/devmapper
===================================================================
--- bootscripts/cblfs/init.d/devmapper	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/devmapper	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,31 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/devmapper
+#
+# Description : Creates device mapper nodes that may have been created in an
+#               early userspace.
+#
+# Authors     : Joe Ciccone <jciccone@gmail.com>
+#
+# Version     : 00.01
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Running dmsetup mknodes..."
+		/sbin/dmsetup mknodes
+		evaluate_retval
+		;;
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/devmapper
Index: bootscripts/cblfs/init.d/dhcp
===================================================================
--- bootscripts/cblfs/init.d/dhcp	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/dhcp	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,46 @@
+#!/bin/bash
+# Begin $rc_base/init.d/dhcp
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+. /etc/sysconfig/dhcp
+
+case "$1" in
+	start)
+		boot_mesg "Starting DHCP Server..."
+		loadproc /usr/sbin/dhcpd ${DHCP_ARGS--q eth0}
+		;;
+
+	stop)
+		boot_mesg "Stopping DHCP Server..."
+		killproc /usr/sbin/dhcpd
+		;;
+
+	reload)
+		boot_mesg "Reloading DHCP Server..."
+		reloadproc /usr/sbin/dhcpd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/dhcpd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/dhcp
Index: bootscripts/cblfs/init.d/exim
===================================================================
--- bootscripts/cblfs/init.d/exim	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/exim	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/exim
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting exim..."
+		loadproc /usr/sbin/exim -bd -q15m
+		;;
+
+	stop)
+		boot_mesg "Stopping exim..."
+		killproc /usr/sbin/exim
+		;;
+
+	status)
+		statusproc /usr/sbin/exim
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|status|restart}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/exim
Index: bootscripts/cblfs/init.d/fam
===================================================================
--- bootscripts/cblfs/init.d/fam	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/fam	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/fam
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting File Alteration Monitor..."
+		loadproc /usr/sbin/famd -T 0
+		;;
+
+	stop)
+		boot_mesg "Stopping File Alteration Monitor..."
+		killproc /usr/sbin/famd
+		;;
+
+	reload)
+		boot_mesg "Reloading File Alteration Monitor..."
+		reloadproc /usr/sbin/famd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/famd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/fam
Index: bootscripts/cblfs/init.d/fcron
===================================================================
--- bootscripts/cblfs/init.d/fcron	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/fcron	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/fcron
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting fcron..."
+		loadproc /usr/sbin/fcron
+		;;
+
+	stop)
+		boot_mesg "Stopping fcron..."
+		killproc /usr/sbin/fcron
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/fcron
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/fcron
Index: bootscripts/cblfs/init.d/gdm
===================================================================
--- bootscripts/cblfs/init.d/gdm	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/gdm	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,46 @@
+#!/bin/bash
+# Begin $rc_base/init.d/gdm
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: randy $
+#$Date: 2007-07-26 10:55:51 -0500 (Thu, 26 Jul 2007) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/gdm.pid
+
+export PATH=$PATH:/opt/gnome/bin:/opt/gnome/sbin
+
+case "$1" in
+	start)
+		boot_mesg "Starting GDM..."
+		loadproc -p $pidfile gdm
+		;;
+
+	stop)
+		boot_mesg "Stopping GDM..."
+		if [ -f $pidfile ]; then
+			loadproc gdm-stop
+		fi
+		;;
+
+	reload)
+		boot_mesg "Reloading GDM..."
+		loadproc gdm-safe-restart
+		;;
+
+	restart)
+		boot_mesg "Restarting GDM..."
+		loadproc gdm-restart
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/gdm
Index: bootscripts/cblfs/init.d/gmetad
===================================================================
--- bootscripts/cblfs/init.d/gmetad	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/gmetad	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/gmetad
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-25
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting Ganglia Meta-Monitoring Daemon..."
+        loadproc /usr/sbin/gmetad
+        ;;
+    stop)
+        boot_mesg "Stopping Gangia Meta-Monitoring Daemon..."
+        killproc gmetad
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/gmetad
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/gmetad
Index: bootscripts/cblfs/init.d/gmond
===================================================================
--- bootscripts/cblfs/init.d/gmond	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/gmond	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/gmond
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-25
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting Ganglia Monitoring Daemon..."
+        loadproc /usr/sbin/gmond
+        ;;
+    stop)
+        boot_mesg "Stopping Ganglia Monitoring Daemon..."
+        killproc gmond
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/gmond
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/gmond
Index: bootscripts/cblfs/init.d/gpm
===================================================================
--- bootscripts/cblfs/init.d/gpm	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/gpm	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,55 @@
+#!/bin/bash
+# Begin $rc_base/init.d/gpm
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+# GPM specific parts by Mark Hymers - markh@linuxfromscratch.org
+
+#$LastChangedBy: dnicholson $
+#$Date: 2006-10-11 02:42:17 -0500 (Wed, 11 Oct 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/gpm.pid
+
+if [ -f /etc/sysconfig/mouse ]
+	then
+	. /etc/sysconfig/mouse
+fi
+
+if [ -z "$MDEVICE" ] || [ -z "$PROTOCOL" ]
+	then
+	echo "Please create an /etc/sysconfig/mouse file containing"
+	echo "MDEVICE and PROTOCOL values"
+	exit 1;
+fi
+
+case "$1" in
+	start)
+		boot_mesg "Starting gpm..."
+		loadproc -p $pidfile /usr/sbin/gpm -m $MDEVICE -t $PROTOCOL $GPMOPTS
+		;;
+
+	stop)
+		boot_mesg "Stopping gpm..."
+		killproc -p $pidfile /usr/sbin/gpm
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc -p $pidfile /usr/sbin/gpm
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/gpm
Index: bootscripts/cblfs/init.d/haldaemon
===================================================================
--- bootscripts/cblfs/init.d/haldaemon	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/haldaemon	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,42 @@
+#!/bin/bash
+# Begin $rc_base/init.d/haldaemon
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: randy $
+#$Date: 2006-06-24 17:00:20 -0500 (Sat, 24 Jun 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/hald/pid
+
+case "$1" in
+	start)
+		boot_mesg "Starting the HAL Daemon..."
+		loadproc -p $pidfile /usr/sbin/hald --use-syslog
+		;;
+
+	stop)
+		boot_mesg "Stopping the HAL Daemon..."
+		killproc -p $pidfile /usr/sbin/hald
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc -p $pidfile /usr/sbin/hald
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/haldaemon
Index: bootscripts/cblfs/init.d/heimdal
===================================================================
--- bootscripts/cblfs/init.d/heimdal	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/heimdal	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,95 @@
+#!/bin/bash
+# Begin $rc_base/init.d/heimdal
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)  
+		boot_mesg -n "Starting KDC Server Daemon..."
+		if test -f "/var/run/kdc.pid"
+		then
+			boot_mesg "kdc already running!" ${WARNING}
+			echo_warning
+		else
+			/usr/sbin/kdc &
+			sleep 1
+			if test -f "/var/run/kdc.pid"
+			then
+				echo ""
+				echo_ok
+			else
+				echo ""
+				echo_failure
+			fi
+		fi
+		boot_mesg -n "Starting KDC kpasswdd Daemon..."
+		if test -f "/var/run/kpasswdd.pid"
+		then
+			boot_mesg "kpasswdd already running!" ${WARNING}
+			echo_warning
+		else
+			/usr/sbin/kpasswdd &
+			sleep 1
+			if test -f "/var/run/kpasswdd.pid"
+			then
+				echo ""
+				echo_ok
+			else
+				echo ""
+				echo_failure
+			fi
+		fi
+		boot_mesg -n "Starting KDC kadmind Daemon..."
+		if test -f "/var/run/kadmind.pid"
+		then
+			boot_mesg "kadmind already running!" ${WARNING}
+			echo_warning
+		else
+			/usr/sbin/kadmind &
+			sleep 1
+			if test -f "/var/run/kadmind.pid"
+			then
+				echo ""
+				echo_ok
+			else
+				echo ""
+				echo_failure
+			fi
+		fi
+		;;
+
+	stop)   
+		boot_mesg "Stopping KDC kadmind Daemon..."
+		killproc /usr/sbin/kadmind
+		boot_mesg "Stopping KDC kpasswdd Daemon..."
+		killproc /usr/sbin/kpasswdd
+		boot_mesg "Stopping KDC Server Daemon..."
+		killproc /usr/sbin/kdc
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/kdc
+		statusproc /usr/sbin/kpasswdd
+		statusproc /usr/sbin/kadmind
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/heimdal
Index: bootscripts/cblfs/init.d/iptables
===================================================================
--- bootscripts/cblfs/init.d/iptables	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/iptables	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,60 @@
+#!/bin/bash
+# Begin $rc_base/init.d/iptables
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+    start)
+        if [ -x /etc/rc.d/rc.iptables ]; then
+          boot_mesg "Starting iptables..."
+          loadproc /etc/rc.d/rc.iptables
+        fi
+        ;;
+
+    lock)
+        boot_mesg "Locking system iptables firewall..."
+        /sbin/iptables --policy INPUT   DROP
+        /sbin/iptables --policy OUTPUT  DROP
+        /sbin/iptables --policy FORWARD DROP
+        /sbin/iptables           --flush
+        /sbin/iptables -t nat    --flush
+        /sbin/iptables -t mangle --flush
+        /sbin/iptables           --delete-chain
+        /sbin/iptables -t nat    --delete-chain
+        /sbin/iptables -t mangle --delete-chain
+        /sbin/iptables -A INPUT  -i lo -j ACCEPT
+        /sbin/iptables -A OUTPUT -o lo -j ACCEPT
+	boot_mesg_flush
+        ;;
+
+    clear)
+        boot_mesg "Clearing system iptables iptables..."
+        /sbin/iptables --policy INPUT   ACCEPT
+        /sbin/iptables --policy OUTPUT  ACCEPT
+        /sbin/iptables --policy FORWARD ACCEPT
+        /sbin/iptables           --flush
+        /sbin/iptables -t nat    --flush
+        /sbin/iptables -t mangle --flush
+        /sbin/iptables           --delete-chain
+        /sbin/iptables -t nat    --delete-chain
+        /sbin/iptables -t mangle --delete-chain
+	boot_mesg_flush
+        ;;
+
+    status)
+        /sbin/iptables           --numeric --list
+        /sbin/iptables -t nat    --numeric --list
+        /sbin/iptables -t mangle --numeric --list
+        ;;
+
+    *)
+        echo "Usage: $0 {start|clear|lock|status}"
+        exit 1
+        ;;
+esac
+
+# End $rc_base/init.d/iptables
Index: bootscripts/cblfs/init.d/kerberos
===================================================================
--- bootscripts/cblfs/init.d/kerberos	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/kerberos	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,50 @@
+#!/bin/bash
+# Begin $rc_base/init.d/kerberos
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+        start)  
+                boot_mesg "Starting Kerberos Authentication..."
+                loadproc krb5kdc
+                boot_mesg "Starting Kerberos Admin Daemon..."
+                loadproc kadmind
+                ;;
+
+        stop)
+                boot_mesg "Stopping Kerberos Authentication..."
+                killproc krb5kdc
+                boot_mesg "Stopping Kerberos Admin Daemon..."
+                killproc kadmind
+                ;;
+
+        reload)
+                boot_mesg "Reloading Kerberos Authentication..."
+                reloadproc krb5kdc
+                boot_mesg "Reloading Kerberos Admin Daemon..."
+                reloadproc kadmind
+                ;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|reload|restart|status}"
+                exit 1
+                ;;
+esac
+# End $rc_base/init.d/kerberos
Index: bootscripts/cblfs/init.d/lisa
===================================================================
--- bootscripts/cblfs/init.d/lisa	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/lisa	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,47 @@
+#!/bin/bash
+# Begin $rc_base/init.d/lisa
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+export PATH=$PATH:/opt/kde/bin
+
+case "$1" in
+        start)
+                boot_mesg "Starting LISA Daemon..."
+                loadproc /opt/kde/bin/lisa
+                ;;
+
+        stop)
+                boot_mesg "Stopping LISA Daemon..."
+                killproc /opt/kde/bin/lisa
+                ;;
+
+        reload)
+                boot_mesg "Reloading LISA Daemon..."
+                reloadproc /opt/kde/bin/lisa
+                ;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc /opt/kde/bin/lisa
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|reload|restart|status}"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/lisa
Index: bootscripts/cblfs/init.d/lprng
===================================================================
--- bootscripts/cblfs/init.d/lprng	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/lprng	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/lprng
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting lpd..."
+		loadproc /usr/sbin/lpd
+		;;
+
+	stop)
+		boot_mesg "Stopping lpd..."
+		killproc /usr/sbin/lpd
+		;;
+
+	reload)
+		boot_mesg "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/lprng
Index: bootscripts/cblfs/init.d/maui
===================================================================
--- bootscripts/cblfs/init.d/maui	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/maui	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/maui
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-23
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting Maui Batch Scheduler..."
+        loadproc /usr/sbin/maui
+        ;;
+    stop)
+        boot_mesg "Stopping Maui Batch Scheduler..."
+        killproc maui
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/maui
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/maui
Index: bootscripts/cblfs/init.d/momclient
===================================================================
--- bootscripts/cblfs/init.d/momclient	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/momclient	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/pbsclient
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-21
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting TORQUE MOM Client..."
+        loadproc /usr/sbin/pbs_mom
+        ;;
+    stop)
+        boot_mesg "Stopping TORQUE MOM Client ..."
+        killproc pbs_mom
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/pbs_mom
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/pbsclient
Index: bootscripts/cblfs/init.d/mpd
===================================================================
--- bootscripts/cblfs/init.d/mpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/mpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/mpd
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-28
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting MPICH2 Process Manager..."
+        loadproc /usr/sbin/mpd
+        ;;
+    stop)
+        boot_mesg "Stopping MPICH2 Process Manager ..."
+        killproc mpd
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/mpd
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/mpd
Index: bootscripts/cblfs/init.d/mysql
===================================================================
--- bootscripts/cblfs/init.d/mysql	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/mysql	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,78 @@
+#!/bin/bash
+# Begin $rc_base/init.d/mysql
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+PIDFILE=/srv/mysql/`/bin/hostname`.pid
+KILLDELAY=20
+
+case "$1" in
+	start)
+		boot_mesg -n "Starting MySQL daemon..."
+		failure=0
+		if [ -f "$PIDFILE" ]
+		then
+			if /bin/ps p `cat $PIDFILE` | grep mysqld >/dev/null
+			then
+				boot_mesg "mysqld already running!" ${WARNING}
+				echo_warning
+				exit 0
+			else
+				rm -f "$PIDFILE"
+				if [ -f "$PIDFILE" ]
+				then
+					failure=1
+				fi
+			fi
+		fi
+		if [ "$failure" = "1" ]
+		then
+			echo ""
+			echo_failure
+		else
+			echo ""
+			/usr/bin/mysqld_safe --user=mysql >/dev/null 2>&1 &
+			evaluate_retval
+		fi
+		;;
+
+	stop)
+		boot_mesg -n "Stopping MySQL daemon..."
+		if [ -e "$PIDFILE" ]
+		then
+			echo ""
+			killproc -p ${PIDFILE} /usr/bin/mysqld_safe
+		else
+			boot_mesg "mysqld not running!" ${WARNING}
+			echo_warning
+			if [ -e "$PIDFILE" ]
+			then
+				rm -f $PIDFILE
+			fi
+		fi
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/mysqld
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/mysql
Index: bootscripts/cblfs/init.d/nas
===================================================================
--- bootscripts/cblfs/init.d/nas	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/nas	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,58 @@
+#!/bin/bash
+# Begin $rc_base/init.d/nas
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+        start)
+                boot_mesg "Starting the Network Audio System Server..."
+		loadproc /usr/X11R6/bin/nasd -aa -b
+#                pidof nasd
+#                if test $? = "0"
+#                then
+#                        print_status warning running
+#                else
+#                        /usr/X11R6/bin/nasd -aa &
+#                        pidof /usr/X11R6/bin/nasd
+#                        if test $? = "0" ; then
+#                                print_status success
+#                        else
+#                                print_status failure
+#                        fi
+#                fi
+		;;
+
+        stop)
+                boot_mesg "Stopping the Network Audio System Server..."
+                killproc /usr/X11R6/bin/nasd
+                ;;
+
+        reload)
+                boot_mesg "Reloading the Network Audio System Server..."
+                reloadproc /usr/X11R6/bin/nasd
+                ;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc /usr/X11R6/bin/nasd
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|reload|restart|status}"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/nasd
Index: bootscripts/cblfs/init.d/netfs
===================================================================
--- bootscripts/cblfs/init.d/netfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/netfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,96 @@
+#!/bin/bash
+# Begin $rc_base/init.d/netfs
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+# netfs script written by Nathan Coulson - conathan@conet.dyndns.org
+# and by DJ Lucas - dj@lucasit.com
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-04-11 02:14:41 -0500 (Tue, 11 Apr 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		# The following line mounts all entries in fstab that
+		# have the _netdev option.  This is required for network
+		# filesystems to be mounted at boot time.
+		boot_mesg "Mounting network volumes..."
+		/bin/mount -a -O _netdev
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg -n "Unmounting network volumes..."
+
+		# The following line obtains a list from the output of
+		# mount for all netfs types and anything that was
+		# mounted with the _netdev option.
+		NETMOUNTS=`/bin/mount \
+			| /bin/grep '_netdev\|smbfs\|ncpfs\|coda\|nfs' \
+			| /usr/bin/cut -d " " -f 3 | /bin/sed ':a;$!N;s/\n/ /;ta'`
+
+		# Check to see if anything was listed from above
+		# (see if anything is actually needs to be unmounted)
+		if [ x"$NETMOUNTS" != x ]
+		then
+			# There is something mounted
+			# terminate the echo -n above
+			echo ""
+
+			# Try and stop processes the nice way
+			# (probably won't work in most cases)
+			/bin/fuser -SIGTERM -km $NETMOUNTS > /dev/null
+
+			# Check and see if it found anything.  If it
+			# did, then give 3 seconds for things to exit
+			# the nice way before killing them off.
+			# This one will work all of the time!
+			if [ $? = 0 ]
+			then
+				/bin/sleep 3
+				/bin/fuser -km $NETMOUNTS > /dev/null
+			fi
+
+			# We now need to unmount all network filesystems.
+			# We will do this with two umount commands to allow
+			# for broken behavior of smbmount, and also to make
+			# certain that netmounts without the _netdev option
+			# will still get unmounted.
+			/bin/umount -a -O _netdev
+			# save the retval
+			if [ $? != 0 ]
+			then
+				NERRVAL=1
+			fi
+
+			# Now catch the rest of the network filesystems
+			# by fstype.  This list can be extended later as
+			# more network filesystems are supported by mount.
+			/bin/umount -a -t coda,ncpfs,nfs,smbfs
+			if [ $? = 0 ]
+			then
+				[ -z $NERRVAL ]
+				evaluate_retval
+			else
+				# make certain that we return an error
+				/bin/false              
+				evaluate_retval
+			fi
+		else
+			# There is nothing mounted
+			boot_mesg "No network volumes mounted!"
+			# print a nice '[  OK  ]' message
+			echo_ok
+		fi
+		;;
+
+*)
+                echo "Usage: $0 {start|stop}"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/netfs
Index: bootscripts/cblfs/init.d/nfs-client
===================================================================
--- bootscripts/cblfs/init.d/nfs-client	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/nfs-client	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,70 @@
+#!/bin/bash
+# Begin $rc_base/init.d/nfs-client
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+. /etc/sysconfig/nfs-client
+
+case "$1" in
+	start)
+		boot_mesg "Starting NFS statd..."
+		loadproc /usr/sbin/rpc.statd
+
+		if [ "$NFS4" = "yes" ]; then
+			boot_mesg "Mounting rpc_pipefs virtual filesystem..."
+			/bin/mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
+			evaluate_retval
+
+			boot_mesg "Starting NFS gssd..."
+			loadproc /usr/sbin/rpc.gssd
+
+			boot_mesg "Starting NFS idmapd..."
+			loadproc /usr/sbin/rpc.idmapd
+		fi
+
+		;;
+
+	stop)
+		if [ "$NFS4" = "yes" ]; then
+			boot_mesg "Stopping NFS idmapd..."
+			killproc /usr/sbin/rpc.idmapd
+
+			boot_mesg "Stopping NFS gssd..."
+			killproc /usr/sbin/rpc.gssd
+
+			boot_mesg "Unmounting rpc_pipefs virtual filesystem..."
+			/bin/umount /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
+			evaluate_retval
+		fi
+
+		boot_mesg "Stopping NFS statd..."
+		killproc /usr/sbin/rpc.statd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/rpc.statd
+		if [ "$NFS4" = "yes" ]; then
+			statusproc /usr/sbin/rpc.gssd
+			statusproc /usr/sbin/rpc.idmapd
+		fi
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/nfs-client
Index: bootscripts/cblfs/init.d/nfs-server
===================================================================
--- bootscripts/cblfs/init.d/nfs-server	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/nfs-server	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,136 @@
+#!/bin/bash
+# Begin $rc_base/init.d/nfs-server
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-09-10 19:41:47 -0500 (Sun, 10 Sep 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+. /etc/sysconfig/nfs-server
+
+case "$1" in
+	start)
+		# NFSD support only in 2.6 kernel
+		/bin/uname -r | /bin/grep "^2.6" 2>&1 > /dev/null
+		if [ $? = 0 ]; then
+			boot_mesg "Mounting nfsd virtual filesystem..."
+			/bin/mount -t nfsd none /proc/fs/nfsd 2>&1 > /dev/null
+			evaluate_retval
+		fi
+
+		boot_mesg "Starting NFS mountd..."
+		loadproc /usr/sbin/rpc.mountd
+
+		if [ "$NFS4" = "yes" ]; then
+			boot_mesg "Mounting rpc_pipefs virtual filesystem..."
+			/bin/mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
+			evaluate_retval
+
+			boot_mesg "Starting NFS4 idmapd..."
+			loadproc /usr/sbin/rpc.idmapd
+
+			boot_mesg "Starting NFS4 svcgssd..."
+			loadproc /usr/sbin/rpc.svcgssd
+		fi
+
+		boot_mesg "Starting NFS nfsd..."
+		loadproc /usr/sbin/rpc.nfsd -p $PORT $PROCESSES
+
+		boot_mesg "Starting NFS statd..."
+		loadproc /usr/sbin/rpc.statd
+
+		if [ "$QUOTAS" = "yes" ]; then
+			boot_mesg "Starting NFS rquotad..."
+			loadproc /usr/sbin/rpc.rquotad
+		fi
+
+		# Make ceratin that the list is refreshed on
+		# a restart.
+		boot_mesg "Exporting NFS Filesystems..."
+		/usr/sbin/exportfs -ra 2>&1 > /dev/null
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Stopping NFS statd..."
+		killproc /usr/sbin/rpc.statd
+
+		boot_mesg "Stopping NFS nfsd..."
+		loadproc /usr/sbin/rpc.nfsd 0
+
+		if [ "$NFS4" = "yes" ]; then
+			boot_mesg "Stopping NFS svcgssd..."
+			killproc /usr/sbin/rpc.svcgssd
+
+			boot_mesg "Stopping NFS idmapd..."
+			killproc /usr/sbin/rpc.idmapd
+
+			boot_mesg "Unmounting rpc_pipefs virtual filesystem..."
+			/bin/umount /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
+			evaluate_retval
+		fi
+
+		boot_mesg "Stopping NFS mountd..."
+		killproc /usr/sbin/rpc.mountd
+
+		if [ "$QUOTAS" = "yes" ]; then
+			boot_mesg "Stopping NFS rquotad..."
+			killproc /usr/sbin/rpc.rquotad
+		fi
+
+		boot_mesg "Refreshing NFS Exported Filesystems..."
+		/usr/sbin/exportfs -au 2>&1 > /dev/null
+		evaluate_retval
+
+		# Remove a pid file that isn't done automatically
+		boot_mesg "Removing the rpc.statd pid file if it exists"
+		if [ -f /var/run/rpc.statd.pid ]; then
+		    rm -f /var/run/rpc.statd.pid
+		fi
+
+		# NFSD support only in 2.6 kernel
+                /bin/uname -r | /bin/grep "^2.6" 2>&1 > /dev/null
+                if [ $? = 0 ]; then
+			boot_mesg "Unmounting NFS Virtual Filesystem..."
+			/bin/umount /proc/fs/nfsd 2>&1 > /dev/null
+			evaluate_retval
+		fi
+
+		;;
+
+	reload)
+		boot_mesg "Reloading NFS Server..."
+		/usr/sbin/exportfs -ra
+		evaluate_retval
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/rpc.mountd
+		## Special case for nfsd with no full path
+		if [ "$NFS4" = "yes" ]; then
+			statusproc /usr/sbin/rpc.idmapd
+			statusproc /usr/sbin/rpc.svcgssd
+		fi
+		statusproc nfsd
+		statusproc /usr/sbin/rpc.statd
+		if [ "$QUOTA" = "yes" ]; then
+			statusproc rpc.rquotad
+		fi
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/nfs-server
Index: bootscripts/cblfs/init.d/ntp
===================================================================
--- bootscripts/cblfs/init.d/ntp	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/ntp	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/ntp
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/ntpd.pid
+
+case "$1" in
+	start)
+		boot_mesg "Starting ntpd..."
+		ntpd -gqx
+		loadproc -p $pidfile /usr/sbin/ntpd
+		;;
+
+	stop)
+		boot_mesg "Stopping ntpd..."
+		killproc -p $pidfile /usr/sbin/ntpd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc -p $pidfile /usr/sbin/ntpd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/ntp
Index: bootscripts/cblfs/init.d/openldap1
===================================================================
--- bootscripts/cblfs/init.d/openldap1	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/openldap1	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/openldap
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-09-10 19:41:47 -0500 (Sun, 10 Sep 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pid_file=/srv/ldap/run/slapd.pid
+
+case "$1" in
+	start)
+		boot_mesg "Starting LDAP slapd Server..."
+		PIDFILE="/srv/ldap/run/slapd.pid"
+		loadproc /usr/sbin/slapd
+		;;
+
+	stop)
+		boot_mesg "Stopping LDAP slapd Server..."
+		PIDFILE="/srv/ldap/run/slapd.pid"
+		# slapd needs SIGINT
+		killproc -p ${PIDFILE} /usr/sbin/slapd INT
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/slapd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/openldap
Index: bootscripts/cblfs/init.d/openldap2
===================================================================
--- bootscripts/cblfs/init.d/openldap2	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/openldap2	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,57 @@
+#!/bin/bash
+# Begin $rc_base/init.d/openldap
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-09-10 19:41:47 -0500 (Sun, 10 Sep 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pid_file=/srv/ldap/run/slapd.pid
+
+case "$1" in
+	start)
+		boot_mesg "Starting LDAP slapd Server..."
+		PIDFILE="/srv/ldap/run/slapd.pid"
+		loadproc /usr/sbin/slapd
+		# Return PIDFILE to null (for slurpd)
+		PIDFILE=""
+
+		boot_mesg "Starting LDAP slurpd Server..."
+		loadproc /usr/sbin/slurpd                                        
+		;;
+
+	stop)
+		boot_mesg "Stopping LDAP slapd Server..."
+		PIDFILE="/srv/ldap/run/slapd.pid"
+		# slapd needs SIGINT
+		killproc -p ${PIDFILE} /usr/sbin/slapd INT
+
+		# return PIDFILE to nothing for slurpd
+		PIDFILE=""
+
+		boot_mesg "Stopping LDAP slurpd Server..."
+		killproc /usr/sbin/slurpd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/slapd
+		statusproc /usr/sbin/slurpd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/openldap
Index: bootscripts/cblfs/init.d/pbsserver
===================================================================
--- bootscripts/cblfs/init.d/pbsserver	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/pbsserver	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,36 @@
+#!/bin/bash
+# Begin $rc_base/init.d/pbsserver
+#
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
+#
+# Date: 2007-10-21
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+# Read in the command arguments
+case "$1" in
+    start)
+        boot_mesg "Starting TORQUE PBS Server..."
+        loadproc /usr/sbin/pbs_server
+		;;
+    stop)
+	    boot_mesg "Stopping TORQUE PBS Server ..."
+        killproc pbs_server
+        ;;
+    restart)
+        $0 stop
+        $0 start
+        ;;
+    status)
+        statusproc /usr/sbin/pbs_server
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|status}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/pbsserver
Index: bootscripts/cblfs/init.d/portmap
===================================================================
--- bootscripts/cblfs/init.d/portmap	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/portmap	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,38 @@
+#!/bin/bash
+# Begin $rc_base/init.d/portmap
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting RPC Portmap"
+		loadproc /sbin/portmap
+		;;
+
+	stop)
+		boot_mesg "Stopping Portmap"
+		killproc /sbin/portmap
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /sbin/portmap
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+
+esac
+
+# End $rc_base/init.d/portmap
Index: bootscripts/cblfs/init.d/postfix
===================================================================
--- bootscripts/cblfs/init.d/postfix	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/postfix	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,56 @@
+#!/bin/bash
+# Begin $rc_base/init.d/postfix
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting Postfix..."
+		loadproc /usr/sbin/postfix start
+		;;
+
+	stop)
+		boot_mesg "Stopping Postfix..."
+		loadproc /usr/sbin/postfix stop
+		;;
+
+	reload)
+		boot_mesg "Reloading Postfix..."
+		loadproc /usr/sbin/postfix reload
+		;;
+
+	abort)
+		boot_mesg "Aborting Postfix..."
+		loadproc /usr/sbin/postfix abort
+		;;
+
+	flush)
+		boot_mesg "Flushing Postfix..."
+		loadproc /usr/sbin/postfix flush
+		;;
+
+	check)
+		boot_mesg "Checking Postfix..."
+		loadproc /usr/sbin/postfix check
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|abort|flush|check|restart}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/postfix
Index: bootscripts/cblfs/init.d/postgresql
===================================================================
--- bootscripts/cblfs/init.d/postgresql	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/postgresql	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,43 @@
+#!/bin/bash
+# Begin $rc_base/init.d/postgresql
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting PostgreSQL daemon..."
+		su - postgres -c '/usr/bin/pg_ctl start -W -D /srv/pgsql/data \
+				-l /srv/pgsql/data/logfile -o "-i" '
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Stopping PostgreSQL daemon..."
+		su - postgres -c "/usr/bin/pg_ctl stop -m smart -D /srv/pgsql/data"
+		evaluate_retval
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		su - postgres -c "/usr/bin/pg_ctl status -D /srv/pgsql/data"
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/postgresql
Index: bootscripts/cblfs/init.d/proftpd
===================================================================
--- bootscripts/cblfs/init.d/proftpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/proftpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/proftpd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting FTP Server..."
+		loadproc /usr/sbin/proftpd
+		;;
+
+	stop)
+		boot_mesg "Stopping FTP Server..."
+		killproc /usr/sbin/proftpd
+		;;
+
+	reload)
+		boot_mesg "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
Index: bootscripts/cblfs/init.d/qpopper
===================================================================
--- bootscripts/cblfs/init.d/qpopper	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/qpopper	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,69 @@
+#!/bin/bash
+# Description: The qpopper program provides Post Office Protocol services
+#              to users.
+#
+# Processname: popper
+# config: /etc/mail/qpopper.conf
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-04-24 00:01:25 -0500 (Mon, 24 Apr 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+CONFIG=/etc/mail/qpopper.conf
+#PORT=110
+
+[ -f /usr/sbin/popper ] || exit 0
+
+RETVAL=0
+prog="qpopper"
+
+
+start()
+{
+   if [ ! -f $CONFIG ]
+   then
+      echo "$prog not started.  $CONFIG missing!"
+      exit 1
+   fi
+   echo -n $"Starting $prog: "
+   loadproc /usr/sbin/popper $PORT -f $CONFIG
+   echo
+   RETVAL=$?
+   return $RETVAL
+}
+
+stop()
+{
+   echo -n $"Shutting down $prog: "
+   killproc popper
+   RETVAL=$?
+   echo
+   return $RETVAL
+}
+
+
+case "$1" in
+  start)
+    start
+        ;;
+  stop)
+    stop
+        ;;
+  restart)
+        stop
+        start
+        RETVAL=$?
+        ;;
+  *)
+        echo "Usage: /etc/init.d/qpopper{start|stop|restart}"
+        exit 1
+esac
+
+exit 0
+
+# End $rc_base/init.d/qpopper
Index: bootscripts/cblfs/init.d/random
===================================================================
--- bootscripts/cblfs/init.d/random	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/random	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,38 @@
+#!/bin/bash
+# Begin $rc_base/init.d/random
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+# Random script elements by Larry Lawrence
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Initializing kernel random number generator..."
+		if [ -f /var/tmp/random-seed ]; then
+			/bin/cat /var/tmp/random-seed >/dev/urandom
+		fi
+		/bin/dd if=/dev/urandom of=/var/tmp/random-seed \
+			count=1 &>/dev/null
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Saving random seed..."
+		/bin/dd if=/dev/urandom of=/var/tmp/random-seed \
+			count=1 &>/dev/null
+		evaluate_retval
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/random
Index: bootscripts/cblfs/init.d/rsyncd
===================================================================
--- bootscripts/cblfs/init.d/rsyncd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/rsyncd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/rsyncd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: randy $
+#$Date: 2005-11-21 14:46:15 -0600 (Mon, 21 Nov 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting RSYNC Server..."
+		loadproc /usr/bin/rsync --daemon
+		;;
+
+	stop)
+		boot_mesg "Stopping RSYNC Server..."
+		killproc /usr/bin/rsync
+		;;
+
+	reload)
+		boot_mesg "Reloading RSYNC Server..."
+		reloadproc /usr/bin/rsync
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/bin/rsync
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/rsyncd
Index: bootscripts/cblfs/init.d/samba
===================================================================
--- bootscripts/cblfs/init.d/samba	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/samba	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,58 @@
+#!/bin/bash
+# Begin $rc_base/init.d/samba
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+smbdpid=/var/run/smbd.pid
+nmbdpid=/var/run/nmbd.pid
+
+case "$1" in
+	start)
+		boot_mesg "Starting nmbd..."
+		loadproc -p $nmbdpid /usr/sbin/nmbd -D
+
+		boot_mesg "Starting smbd..."
+		loadproc -p $smbdpid /usr/sbin/smbd -D
+		;;
+
+	stop)
+		boot_mesg "Stopping smbd..."
+		killproc -p $smbdpid /usr/sbin/smbd
+
+		boot_mesg "Stopping nmbd..."
+		killproc -p $nmbdpid /usr/sbin/nmbd
+                ;;
+
+	reload)
+		boot_mesg "Reloading smbd..."
+		reloadproc -p $smbdpid /usr/sbin/smbd
+
+		boot_mesg "Reloading nmbd..."
+		reloadproc -p $nmbdpid /usr/sbin/nmbd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc -p $nmbdpid /usr/sbin/nmbd
+		statusproc -p $smbdpid /usr/sbin/smbd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/samba
Index: bootscripts/cblfs/init.d/sendmail
===================================================================
--- bootscripts/cblfs/init.d/sendmail	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/sendmail	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/sendmail
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting sendmail..."
+		loadproc /usr/sbin/sendmail -bs -bd -q5m start
+		;;
+
+	stop)
+		boot_mesg "Stopping Sendmail..."
+		killproc /usr/sbin/sendmail
+		;;
+
+	status)
+		statusproc /usr/sbin/sendmail
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|status|restart}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/sendmail
Index: bootscripts/cblfs/init.d/sshd
===================================================================
--- bootscripts/cblfs/init.d/sshd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/sshd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,66 @@
+#!/bin/bash
+# Begin $rc_base/init.d/sshd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2006-04-15 17:34:16 -0500 (Sat, 15 Apr 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/sshd.pid
+
+case "$1" in
+    start)
+        if [ ! -f /etc/ssh/ssh_host_key ]; then
+          boot_mesg "Generating /etc/ssh/ssh_host_key"
+          ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
+          evaluate_retval
+        fi
+        if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
+          boot_mesg "Generating /etc/ssh/ssh_host_dsa_key"
+          ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
+          evaluate_retval
+        fi
+        if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
+          boot_mesg "Generating /etc/ssh/ssh_host_rsa_key"
+          ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
+          evaluate_retval
+        fi
+
+        boot_mesg "Starting SSH Server..."
+        # Also prevent ssh from being killed by out of memory conditions
+        loadproc -p $pidfile /usr/sbin/sshd 
+        sleep 1
+        echo "-16" >/proc/`cat $pidfile`/oom_adj
+        ;;
+
+    stop)
+        boot_mesg "Stopping SSH Server..."
+        killproc -p $pidfile /usr/sbin/sshd
+        ;;
+
+    reload)
+        boot_mesg "Reloading SSH Server..."
+        reloadproc -p $pidfile /usr/sbin/sshd
+        ;;
+
+    restart)
+        $0 stop
+        sleep 1
+        $0 start
+        ;;
+
+    status)
+        statusproc -p $pidfile /usr/sbin/sshd
+        ;;
+
+    *)
+        echo "Usage: $0 {start|stop|reload|restart|status}"
+        exit 1
+        ;;
+esac
+
+# End $rc_base/init.d/sshd
Index: bootscripts/cblfs/init.d/stunnel
===================================================================
--- bootscripts/cblfs/init.d/stunnel	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/stunnel	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/stunnel
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+        start)
+                boot_mesg "Starting the Stunnel Daemon..."
+                loadproc /usr/sbin/stunnel
+                ;;
+
+        stop)
+                boot_mesg "Stopping the Stunnel Daemon..."
+                killproc /usr/sbin/stunnel
+                ;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc /usr/sbin/stunnel
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|restart|status}"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/stunnel
Index: bootscripts/cblfs/init.d/svn
===================================================================
--- bootscripts/cblfs/init.d/svn	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/svn	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,40 @@
+#!/bin/bash
+# Begin $rc_base/init.d/svn
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting Subversion..."
+		loadproc /usr/bin/svnserve -d -r /srv/svn/repositories
+		;;
+
+	stop)
+		boot_mesg "Stopping Subversion..."
+		killproc /usr/bin/svnserve.orig
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/bin/svnserve.orig
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/svn
Index: bootscripts/cblfs/init.d/sysklogd
===================================================================
--- bootscripts/cblfs/init.d/sysklogd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/sysklogd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,57 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/sysklogd
+#
+# Description : Sysklogd loader
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Starting system log daemon..."
+		loadproc syslogd -m 0
+
+		boot_mesg "Starting kernel log daemon..."
+		loadproc klogd
+		;;
+
+	stop)
+		boot_mesg "Stopping kernel log daemon..."
+		killproc klogd
+
+		boot_mesg "Stopping system log daemon..."
+		killproc syslogd
+		;;
+
+	reload)
+		boot_mesg "Reloading system log daemon config file..."
+		reloadproc syslogd
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		statusproc syslogd
+		statusproc klogd
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/sysklogd
Index: bootscripts/cblfs/init.d/syslog-ng
===================================================================
--- bootscripts/cblfs/init.d/syslog-ng	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/syslog-ng	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#/bin/bash
+########################################################################
+# Begin $rc_base/init.d/syslog-ng
+#
+# Description : Syslog-ng Bootscript
+#
+# Authors     : Joe Ciccone <jciccone@gmail.com>
+#
+# Version     : 00.01
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Starting Syslog-ng..."
+		loadproc /usr/sbin/syslog-ng
+		;;
+
+	stop)
+		boot_mesg "Stopping Syslog-ng..."
+		killproc /usr/sbin/syslog-ng
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		statusproc syslog-ng
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/syslog-ng
Index: bootscripts/cblfs/init.d/sysstat
===================================================================
--- bootscripts/cblfs/init.d/sysstat	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/sysstat	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,26 @@
+#!/bin/bash
+# Begin $rc_base/init.d/sysstat
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+        start)
+                boot_mesg "Calling the system activity data collector (sadc)..."
+                /usr/lib/sa/sadc -F -L -
+                evaluate_retval
+                ;;
+
+        *)
+                echo "Usage: $0 start"
+                exit 1
+                ;;
+esac
+
+# End $rc_base/init.d/sysstat
Index: bootscripts/cblfs/init.d/vsftpd
===================================================================
--- bootscripts/cblfs/init.d/vsftpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/vsftpd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/vsftpd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting vsFTPD Server..."
+		loadproc /usr/sbin/vsftpd
+		;;
+
+	stop)
+		boot_mesg "Stopping vsFTPD Server..."
+		killproc /usr/sbin/vsftpd
+		;;
+
+	reload)
+		boot_mesg "Reloading vsFTPD Server..."
+		reloadproc /usr/sbin/vsftpd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/vsftpd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/vsftpd
Index: bootscripts/cblfs/init.d/winbind
===================================================================
--- bootscripts/cblfs/init.d/winbind	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/winbind	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,50 @@
+#!/bin/bash
+# Begin $rc_base/init.d/winbind
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+PIDFILE="/var/run/winbindd.pid"
+KILLDELAY="10"
+
+case "$1" in
+
+        start)
+                boot_mesg "Starting winbind..."
+                loadproc /usr/sbin/winbindd
+                ;;
+
+        stop)
+                boot_mesg "Stopping winbind..."
+		killproc -p ${PIDFILE} /usr/sbin/winbind
+		;;
+
+	reload)
+		boot_mesg "Reloading winbind..."
+		reloadproc /usr/sbin/winbindd
+		;;
+
+        restart)
+                $0 stop
+                sleep 1
+                $0 start
+                ;;
+
+        status)
+                statusproc /usr/sbin/winbindd
+                ;;
+
+        *)
+                echo "Usage: $0 {start|stop|reload|restart|status}"
+                exit 1
+                ;;
+
+esac
+
+# End $rc_base/init.d/winbind
Index: bootscripts/cblfs/init.d/xinetd
===================================================================
--- bootscripts/cblfs/init.d/xinetd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/init.d/xinetd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Begin $rc_base/init.d/xinetd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Starting xinetd..."
+		loadproc /usr/sbin/xinetd
+		;;
+
+	stop)
+		boot_mesg "Stopping xinetd..."
+		killproc /usr/sbin/xinetd
+		;;
+
+	reload)
+		boot_mesg "Reloading xinetd..."
+		reloadproc /usr/sbin/xinetd
+		;;
+
+	restart)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+
+	status)
+		statusproc /usr/sbin/xinetd
+		;;
+
+	*)
+		echo "Usage: $0 {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/xinetd
Index: bootscripts/cblfs/sysconfig/autofs.conf
===================================================================
--- bootscripts/cblfs/sysconfig/autofs.conf	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/sysconfig/autofs.conf	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,23 @@
+#!/bin/bash
+#
+# Autofs configuration file
+#
+# Filename:	/etc/sysconfig/autofs.conf
+#
+# Author:	Bryan Mason
+#
+# Edit History:
+#
+# Date		Author		Action
+# ----------------------------------------------------------------------
+# 19 Jan 2004	B. Mason	Created
+# 18 Oct 2004   L. Lawrence     Assume /usr is not mounted, add timeout
+
+automount=/sbin/automount
+localoptions=''
+daemonoptions='--timeout 60'
+piddir=/var/run
+pidroot=autofs
+
+# END
+
Index: bootscripts/cblfs/sysconfig/network-devices/services/dhclient
===================================================================
--- bootscripts/cblfs/sysconfig/network-devices/services/dhclient	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/sysconfig/network-devices/services/dhclient	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,85 @@
+#!/bin/bash
+# Begin $network-devices/services/dhclient
+
+# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
+# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
+# Adapted for dhclient by DJ Lucas <dj@lucasit.com>
+
+#$LastChangedBy: dnicholson $
+#$Date: 2006-10-01 13:04:35 -0500 (Sun, 01 Oct 2006) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+. $IFCONFIG
+
+getipstats()
+{
+	# Print the last 16 lines of dhclient.leases
+	sed -e :a -e '$q;N;17,$D;ba' /var/state/dhcp/dhclient.leases
+}
+
+case "$2" in
+	up)
+		boot_mesg "Starting dhclient on the $1 interface..."
+		/sbin/dhclient $1 $DHCP_START
+		# Save the return value
+		RET="$?"
+		# Print the assigned settings if requested
+		if [ "$RET" = "0" -a "$PRINTIP" = "yes" ]; then
+			# Get info from dhclient.leases file
+			IPADDR=`getipstats | grep "fixed-address" | \
+				sed 's/ fixed-address //' | \
+				sed 's/\;//'`
+			NETMASK=`getipstats | grep "subnet-mask" | \
+				sed 's/ option subnet-mask //' | \
+				sed 's/\;//'`
+			GATEWAY=`getipstats | grep "routers" | \
+				sed 's/ option routers //' | \
+				sed 's/\;//'`
+			DNS=`getipstats | grep "domain-name-servers" | \
+				sed 's/ option domain-name-servers //' | \
+				sed 's/\;//' | sed 's/,/ and /'`
+
+			if [ "$PRINTALL" = "yes" ]; then
+				$(exit "$RET")
+				evaluate_retval
+				boot_mesg "           DHCP Assigned Settings for $1:"
+				boot_mesg_flush
+				boot_mesg "           IP Address:      $IPADDR"
+				boot_mesg_flush
+				boot_mesg "           Subnet Mask:     $NETMASK"
+				boot_mesg_flush
+				boot_mesg "           Default Gateway: $GATEWAY"
+				boot_mesg_flush
+				boot_mesg "           DNS Server:      $DNS"
+				boot_mesg_flush
+			else
+				boot_mesg " IP Addresss:""$IPADDR"
+				$(exit "$RET")
+				evaluate_retval
+			fi
+		else
+			$(exit "$RET")
+			evaluate_retval
+		fi
+	;;
+
+	down)
+		boot_mesg "Stoping dhclient on the $1 interface..."
+		if [ "$DHCP_STOP" = "" ]; then
+			# This breaks multiple interfaces please provide
+			# the correct stop arguments.
+			killproc dhclient
+		else
+			/sbin/dhclient $1 $DHCP_STOP
+			evaluate_retval
+		fi
+	;;
+
+	*)
+		echo "Usage: $0 [interface] {up|down}"
+		exit 1
+	;;
+esac
+
+# End $network_devices/services/dhclient
Index: bootscripts/cblfs/sysconfig/network-devices/services/dhcpcd
===================================================================
--- bootscripts/cblfs/sysconfig/network-devices/services/dhcpcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/sysconfig/network-devices/services/dhcpcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,63 @@
+#!/bin/bash
+# Begin $network-devices/services/dhcpcd
+
+# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
+# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
+# Adapted for dhcpcd by DJ Lucas <dj@lucasit.com>
+
+. /etc/sysconfig/rc
+. $rc_functions
+. $IFCONFIG
+
+pidfile="/var/run/dhcpcd-$1.pid"
+
+case "$2" in
+	up)
+		boot_mesg -n "Starting DHCPCD on the $1 interface..."
+		# Test to see if there is a stale pid file
+		if [ -f "$pidfile" ]; then
+			ps `cat "$pidfile"` | grep dhcpcd > /dev/null
+			if [ $? != 0 ]; then
+				rm -f $pidfile > /dev/null
+			else
+				boot_mesg "dhcpcd already running!" ${WARNING}
+				echo_warning
+				exit 2
+			fi
+		fi
+		/sbin/dhcpcd $1 $DHCP_START
+		# Save the return value
+		RET="$?"
+		echo ""
+		$(exit "$RET")
+		evaluate_retval
+	;;
+
+	down)
+		boot_mesg -n "Stopping DHCPCD on the $1 interface..."
+		if [ -z "$DHCP_STOP" ]; then
+			echo ""
+			killproc -p "$pidfile" /sbin/dhcpcd
+		else
+			/sbin/dhcpcd $1 $DHCP_STOP &> /dev/null
+			RET="$?"
+			if [ "$RET" -eq 0 ]; then
+				echo ""
+				echo_ok
+			elif [ "$RET" -eq 1 ]; then
+				boot_mesg "dhcpcd not running!" ${WARNING}
+				echo_warning
+			else
+				echo ""
+				echo_failure
+			fi
+		fi
+	;;
+
+	*)
+		echo "Usage: $0 [interface] {up|down}"
+		exit 1
+	;;
+esac
+
+# End $network_devices/services/dhcpcd
Index: bootscripts/cblfs/sysconfig/network-devices/services/ipx
===================================================================
--- bootscripts/cblfs/sysconfig/network-devices/services/ipx	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/sysconfig/network-devices/services/ipx	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,37 @@
+#!/bin/bash
+# Begin $network-devices/services/ipx
+
+# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
+# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
+# Adapted for ipx by DJ Lucas <dj@lucasit.com>
+
+#$LastChangedBy: bdubbs $
+#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+. /etc/sysconfig/rc || exit
+. $rc_functions || exit
+. $IFCONFIG
+
+case $2 in
+        up)
+                boot_mesg "Starting IPX on the $1 interface..."
+                /bin/ipx_interface add $1 $FRAME &&
+                /bin/ipx_configure --auto_interface=on --auto_primary=on
+                evaluate_retval
+        ;;
+
+        down)
+                boot_mesg "Stopping IPX on the $1 interface..."
+                /bin/ipx_configure --auto_interface=off --auto_primary=off &&
+                /bin/ipx_interface del $1 $FRAME
+                evaluate_retval
+        ;;
+
+        *)
+                echo echo "Usage: $0 [interface] {up|down}"
+                exit 1
+        ;;
+
+esac
+
+# End $network-devices/services/ipx
Index: bootscripts/cblfs/sysconfig/network-devices/services/pppoe
===================================================================
--- bootscripts/cblfs/sysconfig/network-devices/services/pppoe	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/cblfs/sysconfig/network-devices/services/pppoe	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,33 @@
+#!/bin/bash
+# Begin $network_devices/services/pppoe
+
+# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
+# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
+# Adapted for pppoe by DJ Lucas <dj@lucasit.com>
+
+#$LastChangedBy: igor $
+#$Date: 2005-09-10 08:37:55 -0500 (Sat, 10 Sep 2005) $
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$2" in
+        up)
+                boot_mesg "Bringing up the PPPoE interface..."
+                /usr/sbin/pppoe-start
+                evaluate_retval
+        ;;
+
+        down)
+                boot_mesg "Bringing down the PPPoE interface..."
+                /usr/sbin/pppoe-stop
+                evaluate_retval
+        ;;
+
+        *)
+                echo "Usage: $0 {up|down}"
+                exit 1
+        ;;
+esac
+
+# End $network_devices/services/pppoe
Index: bootscripts/clfs/init.d/checkfs
===================================================================
--- bootscripts/clfs/init.d/checkfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/checkfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,131 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/checkfs
+#
+# Description : File System Check
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#		A. Luebke - luebke@users.sourceforge.net
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+# Based on checkfs script from LFS-3.1 and earlier.
+#
+# From man fsck
+# 0    - No errors
+# 1    - File system errors corrected
+# 2    - System should be rebooted
+# 4    - File system errors left uncorrected
+# 8    - Operational error
+# 16   - Usage or syntax error
+# 32   - Fsck canceled by user request
+# 128  - Shared library error
+#
+#########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		if [ -f /fastboot ]; then
+			boot_mesg -n "/fastboot found, will not perform" ${INFO}
+			boot_mesg " file system checks as requested."
+			echo_ok
+			exit 0
+		fi
+
+		boot_mesg "Mounting root file system in read-only mode..."
+		mount -n -o remount,ro / >/dev/null
+		evaluate_retval
+
+		if [ ${?} != 0 ]; then
+			echo_failure
+			boot_mesg -n "FAILURE:\n\nCannot check root" ${FAILURE}
+			boot_mesg -n " filesystem because it could not be mounted"
+			boot_mesg -n " in read-only mode.\n\nAfter you"
+			boot_mesg -n " press Enter, this system will be"
+			boot_mesg -n " halted and powered off."
+			boot_mesg -n "\n\nPress enter to continue..." ${INFO}
+			boot_mesg "" ${NORMAL}
+			read ENTER
+			${rc_base}/init.d/halt stop
+		fi
+
+		if [ -f /forcefsck ]; then
+			boot_mesg -n "/forcefsck found, forcing file" ${INFO}
+			boot_mesg " system checks as requested."
+			echo_ok
+			options="-f"
+		else
+			options=""
+		fi
+
+		boot_mesg "Checking file systems..."
+		# Note: -a option used to be -p; but this fails e.g.
+		# on fsck.minix
+		fsck ${options} -a -A -C -T
+		error_value=${?}
+
+		if [ "${error_value}" = 0 ]; then
+			echo_ok
+		fi
+
+		if [ "${error_value}" = 1 ]; then
+			echo_warning
+			boot_mesg -n "WARNING:\n\nFile system errors" ${WARNING}
+			boot_mesg -n " were found and have been corrected."
+			boot_mesg -n "  You may want to double-check that"
+			boot_mesg -n " everything was fixed properly."
+			boot_mesg "" ${NORMAL}
+		fi
+
+		if [ "${error_value}" = 2 -o "${error_value}" = 3 ]; then
+			echo_warning
+			boot_mesg -n "WARNING:\n\nFile system errors" ${WARNING}
+			boot_mesg -n " were found and have been been"
+ 			boot_mesg -n " corrected, but the nature of the"
+			boot_mesg -n " errors require this system to be"
+			boot_mesg -n " rebooted.\n\nAfter you press enter,"
+			boot_mesg -n " this system will be rebooted"
+			boot_mesg -n "\n\nPress Enter to continue..." ${INFO}
+			boot_mesg "" ${NORMAL}
+			read ENTER
+			reboot -f
+		fi
+
+		if [ "${error_value}" -gt 3 -a "${error_value}" -lt 16 ]; then
+			echo_failure
+			boot_mesg -n "FAILURE:\n\nFile system errors" ${FAILURE}
+			boot_mesg -n " were encountered that could not be"
+			boot_mesg -n " fixed automatically.  This system"
+			boot_mesg -n " cannot continue to boot and will"
+			boot_mesg -n " therefore be halted until those"
+			boot_mesg -n " errors are fixed manually by a"
+			boot_mesg -n " System Administrator.\n\nAfter you"
+			boot_mesg -n " press Enter, this system will be"
+			boot_mesg -n " halted and powered off."
+			boot_mesg -n "\n\nPress Enter to continue..." ${INFO}
+			boot_mesg "" ${NORMAL}
+			read ENTER
+			${rc_base}/init.d/halt stop
+		fi
+
+		if [ "${error_value}" -ge 16 ]; then
+			echo_failure
+			boot_mesg -n "FAILURE:\n\nUnexpected Failure" ${FAILURE}
+			boot_mesg -n " running fsck.  Exited with error"
+			boot_mesg -n " code: ${error_value}."
+			boot_mesg "" ${NORMAL}
+			exit ${error_value}
+		fi
+		;;
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/checkfs
Index: bootscripts/clfs/init.d/cleanfs
===================================================================
--- bootscripts/clfs/init.d/cleanfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/cleanfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,112 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/cleanfs
+#
+# Description : Clean file system
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+# Function to create files/directory on boot.
+create_files() {
+	# Read in the configuration file.
+	exec 9>&0 < /etc/sysconfig/createfiles
+		while read name type perm usr grp dtype maj min junk
+		do
+
+			# Ignore comments and blank lines.
+       			case "${name}" in
+				""|\#*) continue ;;
+			esac
+
+			# Ignore existing files.
+			if [ ! -e "${name}" ]; then
+				# Create stuff based on its type.
+				case "${type}" in
+					dir)
+						mkdir "${name}"
+						;;
+					file)
+						:> "${name}"
+						;;
+					dev)
+						case "${dtype}" in
+							char)
+								mknod "${name}" c ${maj} ${min}
+								;;
+							block)
+								mknod "${name}" b ${maj} ${min}
+								;;
+							pipe)
+								mknod "${name}" p
+								;;
+							*) 
+								boot_mesg -n "\nUnknown device type: ${dtype}" ${WARNING}
+								boot_mesg "" ${NORMAL}
+								;;
+						esac
+						;;
+					*)
+						boot_mesg -n "\nUnknown type: ${type}" ${WARNING}
+						boot_mesg "" ${NORMAL}
+						continue
+						;;
+				esac
+
+				# Set up the permissions, too.
+				chown ${usr}:${grp} "${name}"
+				chmod ${perm} "${name}"
+			fi
+		done
+	exec 0>&9 9>&-
+}
+
+case "${1}" in
+	start)
+		boot_mesg -n "Cleaning file systems:" ${INFO}
+
+		boot_mesg -n " /tmp" ${NORMAL}
+		cd /tmp &&
+		find . -xdev -mindepth 1 ! -name lost+found \
+			-delete || failed=1
+
+		boot_mesg -n " /var/lock" ${NORMAL}
+		cd /var/lock &&
+		find . -type f ! -newer /proc -exec rm -f {} \; || failed=1
+
+		boot_mesg " /var/run" ${NORMAL}
+		cd /var/run &&
+		find . ! -type d ! -name utmp ! -newer /proc \
+			-exec rm -f {} \; || failed=1
+		> /var/run/utmp
+		if grep -q '^utmp:' /etc/group ; then
+			chmod 664 /var/run/utmp
+			chgrp utmp /var/run/utmp
+		fi
+
+		(exit ${failed})
+		evaluate_retval
+
+		if [ -e /etc/sysconfig/createfiles ]; then
+			if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
+				boot_mesg "Creating files and directories..."
+				create_files
+				evaluate_retval
+			fi
+		fi
+		;;
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/cleanfs
Index: bootscripts/clfs/init.d/consolelog
===================================================================
--- bootscripts/clfs/init.d/consolelog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/consolelog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,61 @@
+#!/bin/bash
+# Begin $rc_base/init.d/consolelog
+
+########################################################################
+#
+# Description : Set the kernel log level for the console
+#
+# Authors     : Dan Nicholson - dnicholson@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       : /proc must be mounted before this can run
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+# set the default loglevel
+LOGLEVEL=7
+if [ -r /etc/sysconfig/console ]; then
+	. /etc/sysconfig/console
+fi
+
+case "${1}" in
+	start)
+		case "$LOGLEVEL" in
+		[1-8])
+			boot_mesg "Setting the console log level to ${LOGLEVEL}..."
+			dmesg -n $LOGLEVEL
+			evaluate_retval
+			;;
+		*)
+			boot_mesg "Console log level '${LOGLEVEL}' is invalid" ${FAILURE}
+			echo_failure
+			;;
+		esac
+		;;
+	status)
+		# Read the current value if possible
+		if [ -r /proc/sys/kernel/printk ]; then
+			read level line < /proc/sys/kernel/printk
+		else
+			boot_mesg "Can't read the current console log level" ${FAILURE}
+			echo_failure
+		fi
+
+		# Print the value
+		if [ -n "$level" ]; then
+			${ECHO} -e "${INFO}The current console log level" \
+				"is ${level}${NORMAL}"
+		fi
+		;;
+
+	*)
+		echo "Usage: ${0} {start|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/consolelog
Index: bootscripts/clfs/init.d/functions
===================================================================
--- bootscripts/clfs/init.d/functions	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/functions	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,829 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/functions
+#
+# Description : Run Level Control Functions
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       : With code based on Matthias Benkmann's simpleinit-msb
+#		http://winterdrache.de/linux/newboot/index.html
+#
+########################################################################
+
+if [ -e /etc/sysconfig/lcd ]; then
+	if [ -e /dev/lcd ]; then
+		source /etc/sysconfig/lcd
+	fi
+fi
+
+if [ -e /etc/sysconfig/bootscripts ]; then
+	source /etc/sysconfig/bootscripts
+fi
+
+## Environmental setup
+# Setup default values for environment
+umask 022
+export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
+
+# Signal sent to running processes to refresh their configuration
+RELOADSIG="HUP"
+
+# Number of seconds between STOPSIG and FALLBACK when stopping processes
+KILLDELAY="3"
+
+## Screen Dimensions
+# Find current screen size
+if [ -z "${COLUMNS}" ]; then
+	COLUMNS=$(stty size)
+	COLUMNS=${COLUMNS##* }
+fi
+
+# When using remote connections, such as a serial port, stty size returns 0
+if [ "${COLUMNS}" = "0" ]; then 
+	COLUMNS=80
+fi
+
+## Measurements for positioning result messages
+COL=$((${COLUMNS} - 8))
+WCOL=$((${COL} - 2))
+
+## Provide an echo that supports -e and -n
+# If formatting is needed, $ECHO should be used
+case "`echo -e -n test`" in
+	-[en]*)
+		ECHO=/bin/echo
+		;;
+	*)
+		ECHO=echo
+		;;
+esac
+
+## Set Cursor Position Commands, used via $ECHO
+SET_COL="\\033[${COL}G"      # at the $COL char
+SET_WCOL="\\033[${WCOL}G"    # at the $WCOL char
+CURS_UP="\\033[1A\\033[0G"   # Up one line, at the 0'th char
+
+## Set color commands, used via $ECHO
+# Please consult `man console_codes for more information
+# under the "ECMA-48 Set Graphics Rendition" section
+#
+# Warning: when switching from a 8bit to a 9bit font,
+# the linux console will reinterpret the bold (1;) to
+# the top 256 glyphs of the 9bit font.  This does
+# not affect framebuffer consoles
+NORMAL="\\033[0;39m"         # Standard console grey
+SUCCESS="\\033[1;32m"        # Success is green
+WARNING="\\033[1;33m"        # Warnings are yellow
+FAILURE="\\033[1;31m"        # Failures are red
+INFO="\\033[1;36m"           # Information is light cyan
+BRACKET="\\033[1;34m"        # Brackets are blue
+
+STRING_LENGTH="0"   # the length of the current message
+
+#*******************************************************************************
+# Function - boot_mesg()
+#
+# Purpose:      Sending information from bootup scripts to the console
+#
+# Inputs:       $1 is the message
+#               $2 is the colorcode for the console
+#
+# Outputs:      Standard Output
+#
+# Dependencies: - sed for parsing strings.
+#	        - grep for counting string length.
+#               
+# Todo:         
+#*******************************************************************************
+boot_mesg()
+{
+	local ECHOPARM=""
+
+	if [ "$LCD_PROG" ]; then
+		LCD_OUT1="${1:0:$LCD_CHAR}"
+		$LCD_PROG "$LCD_OUT1" > /dev/null 2>&1
+	fi
+
+	while true
+	do
+		case "${1}" in
+			-n)
+				ECHOPARM=" -n "
+				shift 1
+				;;
+			-*)
+				echo "Unknown Option: ${1}"
+				return 1
+				;;
+			*)
+				break
+				;;
+		esac
+	done
+
+	## Figure out the length of what is to be printed to be used
+	## for warning messages. 
+	STRING_LENGTH=$((${#1} + 1))
+
+	# Print the message to the screen
+	${ECHO} ${ECHOPARM} -e "${2}${1}"
+	
+	# Message Log
+	if [ -z "${BOOTMESG}" ]
+	then
+		BOOTMESG="${1}"
+	else
+		BOOTMESG="${BOOTMESG} ${1}"
+	fi
+}
+
+boot_mesg_flush()
+{
+	# Reset STRING_LENGTH for next message
+	STRING_LENGTH="0"
+	if [ "$LOGGING" ]; then
+		boot_log "${BOOTMESG}${@}"
+		BOOTMESG=""
+	fi
+}
+
+boot_log()
+{
+	if [ "$LOGGING" ]; then
+		/bin/logger -p local2.info -t bootlog "${DISPLAYLOG} ${1}"
+	else
+		return 0
+	fi
+}
+
+echo_ok()
+{
+	if [ "$LCD_PROG" ]; then
+		if [ "$LCD_LINES" = "2" ]; then
+			LCD_OUT2="[  OK  ]"
+			$LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1
+		else
+			LCD_OUT2="${LCD_OUT1:0:12} OK"
+			$LCD_PROG "$LCD_OUT2" > /dev/null 2>&1
+		fi
+	fi
+	${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]"
+	${ECHO} -e "${NORMAL}"
+	BOOTMESG="${BOOTMESG} [ OK ]"
+	boot_mesg_flush
+}
+
+echo_failure()
+{
+	if [ "$LCD_PROG" ]; then
+		if [ "$LCD_LINES" = "2" ]; then
+			LCD_OUT2="[ FAIL  ]"
+			$LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1
+		else
+			LCD_OUT2="${LCD_OUT1:0:10} FAIL"
+			$LCD_PROG "$LCD_OUT2" > /dev/null 2>&1
+		fi
+	fi
+	${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]"
+	${ECHO} -e "${NORMAL}"
+	BOOTMESG="${BOOTMESG} [ FAIL ]"
+	boot_mesg_flush
+}
+
+echo_warning()
+{
+	if [ "$LCD_PROG" ]; then
+		if [ "$LCD_LINES" = "2" ]; then
+			LCD_OUT2="[ WARN  ]"
+			$LCD_PROG "$LCD_OUT1" "$LCD_OUT2" > /dev/null 2>&1
+		else
+			LCD_OUT2="${LCD_OUT1:0:10} WARN"
+			$LCD_PROG "$LCD_OUT2" > /dev/null 2>&1
+		fi
+	fi
+	${ECHO} -n -e "${CURS_UP}${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]"
+	${ECHO} -e "${NORMAL}"
+	BOOTMESG="${BOOTMESG} [ WARN ]"
+	boot_mesg_flush
+}
+
+print_error_msg()
+{
+	echo_failure
+	# $i is inherited by the rc script
+	boot_log "\n\n${i} failed and exited with a return value of ${error_value}."
+	boot_mesg -n "FAILURE:\n\nYou should not be reading this error message.\n\n" ${FAILURE}
+	boot_mesg -n " It means that an unforeseen error took"
+	boot_mesg -n " place in ${i}, which exited with a return value of"
+	boot_mesg " ${error_value}.\n"
+	boot_mesg_flush
+	boot_mesg -n "If you're able to track this"
+	boot_mesg -n " error down to a bug in one of the files provided by"
+	boot_mesg -n " the CLFS book, please be so kind to inform us at"
+	boot_mesg " clfs-dev@cross-lfs.org.\n"
+	boot_mesg_flush
+	boot_mesg -n "Press Enter to continue..." ${INFO}
+	boot_mesg "" ${NORMAL}
+	read ENTER
+}
+
+check_script_status()
+{
+	# $i is inherited by the rc script
+	if [ ! -f ${i} ]; then
+		boot_mesg "${i} is not a valid symlink." ${WARNING}
+		echo_warning
+		continue
+	fi
+
+	if [ ! -x ${i} ]; then
+		boot_mesg "${i} is not executable, skipping." ${WARNING}
+		echo_warning
+		continue
+	fi
+}
+
+evaluate_retval()
+{
+	error_value="${?}"
+
+	if [ ${error_value} = 0 ]; then
+		echo_ok
+	else
+		echo_failure
+	fi
+
+	# This prevents the 'An Unexpected Error Has Occurred' from trivial
+	# errors.
+	return 0
+}
+
+print_status()
+{
+	if [ "${#}" = "0" ]; then
+		echo "Usage: ${0} {success|warning|failure}"
+		return 1
+	fi
+
+	case "${1}" in
+
+		success)
+			echo_ok
+			;;
+
+		warning)
+			# Leave this extra case in because old scripts
+			# may call it this way.
+			case "${2}" in
+				running)
+					${ECHO} -e -n "${CURS_UP}"
+					${ECHO} -e -n "\\033[${STRING_LENGTH}G   "
+					boot_mesg "Already running." ${WARNING}
+					echo_warning
+					;;
+				not_running)
+					${ECHO} -e -n "${CURS_UP}"
+					${ECHO} -e -n "\\033[${STRING_LENGTH}G   "
+					boot_mesg "Not running." ${WARNING}
+					echo_warning
+					;;
+				not_available)
+					${ECHO} -e -n "${CURS_UP}"
+					${ECHO} -e -n "\\033[${STRING_LENGTH}G   "
+					boot_mesg "Not available." ${WARNING}
+					echo_warning
+					;;
+				*)
+					# This is how it is supposed to
+					# be called
+					echo_warning
+					;;
+			esac
+		;;
+
+		failure)
+			echo_failure
+		;;
+
+	esac
+
+}
+
+reloadproc()
+{
+	local pidfile=""
+	local failure=0
+
+	while true
+	do
+		case "${1}" in
+			-p)
+				pidfile="${2}"
+				shift 2
+				;;
+			-*)
+				log_failure_msg "Unknown Option: ${1}"
+				return 2
+				;;
+			*)
+				break
+				;;
+		esac
+	done
+
+	if [ "${#}" -lt "1" ]; then
+		log_failure_msg "Usage: reloadproc [-p pidfile] pathname"
+		return 2
+	fi
+
+	# This will ensure compatibility with previous CLFS Bootscripts
+	if [ -n "${PIDFILE}" ];	then
+		pidfile="${PIDFILE}"
+	fi
+
+	# Is the process running?
+	if [ -z "${pidfile}" ];	then
+		pidofproc -s "${1}"
+	else
+		pidofproc -s -p "${pidfile}" "${1}"
+	fi
+
+	if [ -n "${pidlist}" ];	then
+		for pid in ${pidlist}
+		do
+			kill -"${RELOADSIG}" "${pid}" || failure="1"
+		done
+
+		(exit ${failure})
+		evaluate_retval
+
+	else
+		boot_mesg "Process ${1} not running." ${WARNING}
+		echo_warning
+	fi
+}
+
+statusproc()
+{
+	local pidfile=""
+	local base=""
+	local ret=""
+
+	while true
+	do
+		case "${1}" in
+			-p)
+				pidfile="${2}"
+				shift 2
+				;;
+			-*)
+				log_failure_msg "Unknown Option: ${1}"
+				return 2
+				;;
+			*)
+				break
+				;;
+		esac
+	done
+
+	if [ "${#}" != "1" ]; then
+		shift 1
+		log_failure_msg "Usage: statusproc [-p pidfile] pathname"
+		return 2
+	fi
+
+	# Get the process basename
+	base="${1##*/}"
+
+	# This will ensure compatibility with previous CLFS Bootscripts
+	if [ -n "${PIDFILE}" ];	then
+		pidfile="${PIDFILE}"
+	fi
+
+	# Is the process running?
+	if [ -z "${pidfile}" ];	then
+		pidofproc -s "${1}"
+	else
+		pidofproc -s -p "${pidfile}" "${1}"
+	fi
+
+	# Store the return status
+	ret=$?
+
+	if [ -n "${pidlist}" ];	then
+		${ECHO} -e "${INFO}${base} is running with Process"\
+			"ID(s) ${pidlist}.${NORMAL}"
+	else
+		if [ -n "${base}" -a -e "/var/run/${base}.pid" ]; then
+			${ECHO} -e "${WARNING}${1} is not running but"\
+				"/var/run/${base}.pid exists.${NORMAL}"
+		else
+			if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
+				${ECHO} -e "${WARNING}${1} is not running"\
+					"but ${pidfile} exists.${NORMAL}"
+			else
+				${ECHO} -e "${INFO}${1} is not running.${NORMAL}"
+			fi
+		fi
+	fi
+
+	# Return the status from pidofproc
+	return $ret
+}
+
+# The below functions are documented in the LSB-generic 2.1.0
+
+#*******************************************************************************
+# Function - pidofproc [-s] [-p pidfile] pathname
+#
+# Purpose: This function returns one or more pid(s) for a particular daemon
+#
+# Inputs: -p pidfile, use the specified pidfile instead of pidof
+#         pathname, path to the specified program
+#
+# Outputs: return 0 - Success, pid's in stdout
+#          return 1 - Program is dead, pidfile exists
+#          return 2 - Invalid or excessive number of arguments, 
+#                     warning in stdout
+#          return 3 - Program is not running
+#
+# Dependencies: pidof, echo, head
+#
+# Todo: Remove dependency on head
+#       This depreciates getpids
+#       Test changes to pidof
+#
+#*******************************************************************************
+pidofproc()
+{
+	local pidfile=""
+	local lpids=""
+	local silent=""
+	pidlist=""
+	while true
+	do
+		case "${1}" in
+			-p)
+				pidfile="${2}"
+				shift 2
+				;;
+
+			-s)
+				# Added for legacy opperation of getpids
+				# eliminates several '> /dev/null'
+				silent="1"
+				shift 1
+				;;
+			-*)
+				log_failure_msg "Unknown Option: ${1}"
+				return 2
+				;;
+			*)
+				break
+				;;
+		esac
+	done
+
+	if [ "${#}" != "1" ]; then
+		shift 1
+		log_failure_msg "Usage: pidofproc [-s] [-p pidfile] pathname"
+		return 2
+	fi
+
+	if [ -n "${pidfile}" ]; then
+		if [ ! -r "${pidfile}" ]; then
+			return 3 # Program is not running
+		fi
+
+		lpids=`head -n 1 ${pidfile}`
+		for pid in ${lpids}
+		do
+			if [ "${pid}" -ne "$$" -a "${pid}" -ne "${PPID}" ]; then
+				kill -0 "${pid}" 2>/dev/null &&
+				pidlist="${pidlist} ${pid}"
+			fi
+			
+			if [ "${silent}" != "1" ]; then
+				echo "${pidlist}"
+			fi
+
+			test -z "${pidlist}" && 
+			# Program is dead, pidfile exists
+			return 1
+			# else
+			return 0
+		done
+
+	else
+		pidlist=`pidof -o $$ -o $PPID -x "$1"`
+		if [ "${silent}" != "1" ]; then
+			echo "${pidlist}"
+		fi
+
+		# Get provide correct running status
+		if [ -n "${pidlist}" ]; then
+			return 0
+		else
+			return 3
+		fi
+
+	fi
+
+	if [ "$?" != "0" ]; then
+		return 3 # Program is not running
+	fi
+}
+
+# This will ensure compatibility with previous CLFS Bootscripts
+getpids()
+{
+	if [ -z "${PIDFILE}" ]; then
+		pidofproc -s -p "${PIDFILE}" $@
+	else
+		pidofproc -s $@
+	fi
+	base="${1##*/}"
+}
+
+#*******************************************************************************
+# Function - loadproc [-f] [-n nicelevel] [-p pidfile] pathname [args]
+#
+# Purpose: This runs the specified program as a daemon
+#
+# Inputs: -f, run the program even if it is already running
+#         -n nicelevel, specifies a nice level. See nice(1).
+#         -p pidfile, uses the specified pidfile
+#         pathname, pathname to the specified program
+#         args, arguments to pass to specified program
+#
+# Outputs: return 0 - Success
+#          return 2 - Invalid of excessive number of arguments, 
+#                     warning in stdout
+#          return 4 - Program or service status is unknown
+#
+# Dependencies: nice
+#
+# Todo: LSB says this should be called start_daemon
+#       LSB does not say that it should call evaluate_retval
+#       It checks for PIDFILE, which is deprecated.
+#         Will be removed after BLFS 6.0
+#       loadproc returns 0 if program is already running, not LSB compliant
+#
+#*******************************************************************************
+loadproc()
+{
+	local pidfile=""
+	local forcestart=""
+	local nicelevel="10"
+
+# This will ensure compatibility with previous CLFS Bootscripts
+	if [ -n "${PIDFILE}" ];	then
+		pidfile="${PIDFILE}"
+	fi
+
+  while true
+	do
+		case "${1}" in
+			-f)
+				forcestart="1"
+				shift 1
+				;;
+			-n)
+				nicelevel="${2}"
+				shift 2
+				;;
+			-p)
+				pidfile="${2}"
+				shift 2
+				;;
+			-*)
+				log_failure_msg "Unknown Option: ${1}"
+				return 2 #invalid or excess argument(s)
+				;;
+			*)
+				break
+				;;
+		esac
+	done
+
+	if [ "${#}" = "0" ]; then
+		log_failure_msg "Usage: loadproc [-f] [-n nicelevel] [-p pidfile] pathname [args]"
+		return 2 #invalid or excess argument(s)
+	fi
+
+	if [ -z "${forcestart}" ]; then
+		if [ -z "${pidfile}" ];	then
+			pidofproc -s "${1}"
+		else
+			pidofproc -s -p "${pidfile}" "${1}"
+		fi
+
+		case "${?}" in
+			0)
+				log_warning_msg "Unable to continue: ${1} is running"
+				return 0 # 4
+				;;
+			1)
+				log_warning_msg "Unable to continue: ${pidfile} exists"
+				return 0 # 4
+				;;
+			3)
+				;;
+			*)
+				log_failure_msg "Unknown error code from pidofproc: ${?}"
+				return 4
+				;;
+		esac
+	fi
+
+	nice -n "${nicelevel}" "${@}"
+	evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
+	return 0
+}
+
+#*******************************************************************************
+# Function - killproc  [-p pidfile] pathname [signal]
+#
+# Purpose:
+#
+# Inputs: -p pidfile, uses the specified pidfile
+#         pathname, pathname to the specified program
+#         signal, send this signal to pathname
+#
+# Outputs: return 0 - Success
+#          return 2 - Invalid of excessive number of arguments, 
+#                     warning in stdout
+#          return 4 - Unknown Status
+#
+# Dependencies: kill, sleep
+#
+# Todo: LSB does not say that it should call evaluate_retval
+#       It checks for PIDFILE, which is deprecated.
+#         Will be removed after BLFS 6.0
+#
+#*******************************************************************************
+killproc()
+{
+	local pidfile=""
+	local killsig=TERM # default signal is SIGTERM
+	pidlist=""
+
+	# This will ensure compatibility with previous CLFS Bootscripts
+	if [ -n "${PIDFILE}" ];	then
+		pidfile="${PIDFILE}"
+	fi
+
+	while true
+	do
+		case "${1}" in
+			-p)
+				pidfile="${2}"
+				shift 2
+				;;
+			-*)
+				log_failure_msg "Unknown Option: ${1}"
+				return 2
+				;;
+			*)
+ 				break
+				;;
+		esac
+	done
+
+	if [ "${#}" = "2" ]; then
+		killsig="${2}"
+	elif [ "${#}" != "1" ];	then
+		shift 2
+		log_failure_msg "Usage: killproc  [-p pidfile] pathname [signal]"
+		return 2
+	fi
+
+	# Is the process running?
+	if [ -z "${pidfile}" ];	then
+		pidofproc -s "${1}"
+	else
+		pidofproc -s -p "${pidfile}" "${1}"
+	fi
+
+    # If running, send the signal
+    if [ -n "${pidlist}" ]; then
+	for pid in ${pidlist}
+	do
+		kill -${killsig} ${pid} 2>/dev/null
+
+		# Wait up to 3 seconds, for ${pid} to terminate
+		case "${killsig}" in
+		TERM|SIGTERM|KILL|SIGKILL)
+			# sleep in 1/10ths of seconds and
+			# multiply KILLDELAY by 10
+			local dtime="${KILLDELAY}0"
+			while [ "${dtime}" != "0" ]
+			do
+				kill -0 ${pid} 2>/dev/null || break
+				sleep 0.1
+				dtime=$(( ${dtime} - 1))
+			done
+			# If ${pid} is still running, kill it
+			kill -0 ${pid} 2>/dev/null && kill -KILL ${pid} 2>/dev/null
+			;;
+		esac
+	done
+
+	# Check if the process is still running if we tried to stop it
+	case "${killsig}" in
+	TERM|SIGTERM|KILL|SIGKILL)
+		if [ -z "${pidfile}" ];	then
+			pidofproc -s "${1}"
+		else
+			pidofproc -s -p "${pidfile}" "${1}"
+		fi
+
+		# Program was terminated
+		if [ "$?" != "0" ]; then
+			# Remove the pidfile if necessary
+			if [ -f "${pidfile}" ];	then
+				rm -f "${pidfile}"
+			fi
+			echo_ok
+			return 0
+		else # Program is still running
+			echo_failure
+			return 4 # Unknown Status
+		fi
+		;;
+	*)
+		# Just see if the kill returned successfully
+		evaluate_retval
+		;;
+	esac
+    else # process not running
+	print_status warning not_running
+    fi
+}
+
+
+#*******************************************************************************
+# Function - log_success_msg "message"
+#
+# Purpose: Print a success message
+#
+# Inputs: $@ - Message
+#
+# Outputs: Text output to screen
+#
+# Dependencies: echo
+#
+# Todo: logging
+#
+#*******************************************************************************
+log_success_msg()
+{
+	${ECHO} -n -e "${BOOTMESG_PREFIX}${@}"
+	${ECHO} -e "${SET_COL}""${BRACKET}""[""${SUCCESS}""  OK  ""${BRACKET}""]""${NORMAL}"
+	return 0
+}
+
+#*******************************************************************************
+# Function - log_failure_msg "message"
+#
+# Purpose: Print a failure message
+#
+# Inputs: $@ - Message
+#
+# Outputs: Text output to screen
+#
+# Dependencies: echo
+#
+# Todo: logging
+#
+#*******************************************************************************
+log_failure_msg() {
+	${ECHO} -n -e "${BOOTMESG_PREFIX}${@}"
+	${ECHO} -e "${SET_COL}""${BRACKET}""[""${FAILURE}"" FAIL ""${BRACKET}""]""${NORMAL}"
+	return 0
+}
+
+#*******************************************************************************
+# Function - log_warning_msg "message"
+#
+# Purpose: print a warning message
+#
+# Inputs: $@ - Message
+#
+# Outputs: Text output to screen
+#
+# Dependencies: echo
+#
+# Todo: logging
+#
+#*******************************************************************************
+log_warning_msg() {
+	${ECHO} -n -e "${BOOTMESG_PREFIX}${@}"
+	${ECHO} -e "${SET_COL}""${BRACKET}""[""${WARNING}"" WARN ""${BRACKET}""]""${NORMAL}"
+	return 0
+}
+
+# End $rc_base/init.d/functions
Index: bootscripts/clfs/init.d/halt
===================================================================
--- bootscripts/clfs/init.d/halt	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/halt	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,28 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/halt
+#
+# Description : Halt Script
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	stop)
+		halt -d -f -i -p
+		;;
+	*)
+		echo "Usage: {stop}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/halt
Index: bootscripts/clfs/init.d/i18n
===================================================================
--- bootscripts/clfs/init.d/i18n	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/i18n	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,83 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/i18n
+#
+# Description : Setup for i18n
+#
+# Authors     : Jim Gifford
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+if [ -f /etc/sysconfig/i18n ]; then
+	. /etc/sysconfig/i18n
+fi
+
+case "${1}" in
+	start)
+		# Set the font
+		#
+		boot_mesg "Setting Font..."
+		if [ "${FONT_TRANSLATION}" ]; then
+			FONTTRANS="-m ${FONT_TRANSLATION}"
+		fi
+		for ttynum in $(seq 1 12) ; do
+			setfont ${FONT} ${FONTTRANS} -C /dev/tty${ttynum}
+		done
+		evaluate_retval
+
+		# Load the keymap in UTF-8
+		#
+		boot_mesg "Setting keymap to UTF-8..."
+		if [ "${DUMPKEYS_CHARSET}" ]; then
+			DUMPKEYS_OPTS="-c ${DUMPKEYS_CHARSET}"
+		fi
+		evaluate_retval
+
+		# Set terminal encoding to UTF-8
+		#
+		if [ "${UNICODE}" = "yes" ] ; then
+			dumpkeys ${DUMPKEYS_OPTS} | loadkeys --unicode
+			TTYENCODE=$'\033%G'
+			TTYMESSAGE=UTF-8
+		else
+			TTYENCODE=$'\033(K'
+			TTYMESSAGE=ASCII
+		fi
+
+		# Enable multibyte input
+		#
+		boot_mesg "Enabling Multibyte input..."
+		kbd_mode -u
+		evaluate_retval
+
+		# Setup Keymaps
+		#
+		if [ "${WINDOWS_KEYBOARD}" = "yes" ]; then
+			WINDOWS_KEYMAP=windowkeys
+		fi
+		loadkeys -q ${WINDOW_KEYMAP} ${KEYMAP} ${EXTENDED_KEYMAPS}
+
+		# Setting up the Terminals
+		#
+		boot_mesg "Setting encoding to ${TTYMESSAGE}.."
+		for ttynum in $(seq 1 12) ; do
+			echo -ne ${TTYENCODE} > /dev/tty${ttynum}
+		done
+		evaluate_retval
+
+	;;
+
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+	;;
+esac
+
+# End $rc_base/init.d/i18n
Index: bootscripts/clfs/init.d/localnet
===================================================================
--- bootscripts/clfs/init.d/localnet	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/localnet	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,54 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/localnet
+#
+# Description : Loopback device
+#
+# Authors     : Gerard Beekmans  - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+. /etc/sysconfig/network
+
+case "${1}" in
+	start)
+		boot_mesg "Bringing up the loopback interface..."
+		ip addr add 127.0.0.1/8 label lo dev lo
+		ip link set lo up
+		evaluate_retval
+
+		boot_mesg "Setting hostname to ${HOSTNAME}..."
+		hostname ${HOSTNAME}
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Bringing down the loopback interface..."
+		ip link set lo down
+		evaluate_retval
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		echo "Hostname is: $(hostname)"
+		ip link show lo
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/localnet
Index: bootscripts/clfs/init.d/modules
===================================================================
--- bootscripts/clfs/init.d/modules	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/modules	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,72 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/modules
+#
+# Description : Module auto-loading script
+#
+# Authors     : Zack Winkles
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+# Assure that the kernel has module support.
+[ -e /proc/ksyms -o -e /proc/modules ] || exit 0
+
+case "${1}" in
+	start)
+
+		# Exit if there's no modules file or there are no
+		# valid entries
+		[ -r /etc/sysconfig/modules ] &&
+			egrep -qv '^($|#)' /etc/sysconfig/modules ||
+			exit 0
+
+		boot_mesg -n "Loading modules:" ${INFO}
+
+		# Only try to load modules if the user has actually given us
+		# some modules to load.
+		while read module args; do
+
+			# Ignore comments and blank lines.
+			case "$module" in
+				""|"#"*) continue ;;
+			esac
+
+			# Attempt to load the module, making
+			# sure to pass any arguments provided.
+			modprobe ${module} ${args} >/dev/null
+
+			# Print the module name if successful,
+			# otherwise take note.
+			if [ $? -eq 0 ]; then
+				boot_mesg -n " ${module}" ${NORMAL}
+			else
+				failedmod="${failedmod} ${module}"
+			fi
+		done < /etc/sysconfig/modules
+
+		boot_mesg "" ${NORMAL}
+		# Print a message about successfully loaded
+		# modules on the correct line.
+		echo_ok
+
+		# Print a failure message with a list of any
+		# modules that may have failed to load.
+		if [ -n "${failedmod}" ]; then
+			boot_mesg "Failed to load modules:${failedmod}" ${FAILURE}
+			echo_failure
+		fi
+		;;
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/modules
Index: bootscripts/clfs/init.d/mountfs
===================================================================
--- bootscripts/clfs/init.d/mountfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/mountfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,54 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/mountfs
+#
+# Description : File System Mount Script
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Remounting root file system in read-write mode..."
+		mount -n -o remount,rw / >/dev/null
+		evaluate_retval
+
+		# Remove fsck-related file system watermarks.
+		rm -f /fastboot /forcefsck
+
+		boot_mesg "Recording existing mounts in /etc/mtab..."
+		> /etc/mtab
+		mount -f / || failed=1
+		mount -f /proc || failed=1
+		mount -f /sys || failed=1
+		(exit ${failed})
+		evaluate_retval
+
+		# This will mount all filesystems that do not have _netdev in
+		# their option list.  _netdev denotes a network filesystem.
+		boot_mesg "Mounting remaining file systems..."
+		mount -a -O no_netdev >/dev/null
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Unmounting all other currently mounted file systems..."
+		umount -a -d -r >/dev/null
+		evaluate_retval
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/mountfs
Index: bootscripts/clfs/init.d/mountkernfs
===================================================================
--- bootscripts/clfs/init.d/mountkernfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/mountkernfs	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,44 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/mountkernfs
+#
+# Description : Mount proc and sysfs
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg -n "Mounting kernel-based file systems:" ${INFO}
+
+		if ! mountpoint /proc >/dev/null; then
+			boot_mesg -n " /proc" ${NORMAL}
+			mount -n /proc || failed=1
+		fi
+
+		if ! mountpoint /sys >/dev/null; then
+			boot_mesg -n " /sys" ${NORMAL}
+			mount -n /sys || failed=1
+		fi
+
+		boot_mesg "" ${NORMAL}
+
+		(exit ${failed})
+		evaluate_retval
+		;;
+
+	*)
+		echo "Usage: ${0} {start}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/mountkernfs
Index: bootscripts/clfs/init.d/network
===================================================================
--- bootscripts/clfs/init.d/network	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/network	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,73 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/network
+#
+# Description : Network Control Script
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#		Nathan Coulson - nathan@linuxfromscratch.org
+#		Kevin P. Fleming - kpfleming@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+. /etc/sysconfig/network
+
+case "${1}" in
+	start)
+		# Start all network interfaces
+		for file in ${network_devices}/ifconfig.*
+		do
+			interface=${file##*/ifconfig.}
+
+			# skip if $file is * (because nothing was found)
+			if [ "${interface}" = "*" ]
+			then
+				continue
+			fi
+
+			IN_BOOT=1 ${network_devices}/ifup ${interface}
+		done
+		;;
+
+	stop)
+		# Reverse list
+		FILES=""
+		for file in ${network_devices}/ifconfig.*
+		do
+			FILES="${file} ${FILES}"
+		done
+
+		# Stop all network interfaces
+		for file in ${FILES}
+		do
+			interface=${file##*/ifconfig.}
+
+			# skip if $file is * (because nothing was found)
+			if [ "${interface}" = "*" ]
+			then
+				continue
+			fi
+
+			IN_BOOT=1 ${network_devices}/ifdown ${interface}
+		done
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+# End /etc/rc.d/init.d/network
Index: bootscripts/clfs/init.d/paneld
===================================================================
--- bootscripts/clfs/init.d/paneld	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/paneld	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,63 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/paneld
+#
+# Description : Show Messages on the LCD Panel
+#
+# Author      : Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		boot_mesg "Setting up LCD Panel"
+		ip addr show dev eth0 > /dev/null 2>&1
+		if [ "$?" = "0" ]; then
+			IFACE1_IP="`ip addr show dev eth0 | grep inet | cut -d / -f 1 | cut -d t  -f 2 | cut -d' ' -f 2 `"
+			IFACE1="$IFACE1_IP"
+		fi
+		ip addr show dev eth1 > /dev/null 2>&1
+		if [ "$?" = "0" ]; then
+			IFACE2_IP="`ip addr show dev eth1 | grep inet | cut -d / -f 1 | cut -d t  -f 2 | cut -d' ' -f 2 `"
+			IFACE2="$IFACE2_IP"
+		fi
+		COMMON="Hold S & E Menu"
+		if [ "$IFACE2" = "" ]; then
+			loadproc paneld -d "Lan1 $IFACE1" "$COMMON"
+		else
+			loadproc paneld -d "Lan1 $IFACE1" "Lan2 $IFACE2" "$COMMON"
+		fi
+
+	;;
+
+        stop)
+                boot_mesg "Clearing LCD Panel..."
+                putlcd "Clearing" "LCD Panel"
+                killproc paneld
+                ;;
+
+        restart)
+                ${0} stop
+                sleep 1
+                ${0} start
+                ;;
+
+        status)
+                statusproc paneld
+                ;;
+
+	*)
+		echo "Usage: {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/paneld
+
Index: bootscripts/clfs/init.d/rc
===================================================================
--- bootscripts/clfs/init.d/rc	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/rc	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,100 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/rc
+#
+# Description : Main Run Level Control Script
+#
+# Authors     : Gerard Beekmans  - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+# This sets a few default terminal options.
+stty sane
+
+# These 3 signals will not cause our script to exit
+trap "" INT QUIT TSTP
+
+[ "${1}" != "" ] && runlevel=${1}
+
+if [ "${runlevel}" = "" ]; then
+	echo "Usage: ${0} <runlevel>" >&2
+	exit 1
+fi
+
+previous=${PREVLEVEL}
+[ "${previous}" = "" ] && previous=N
+
+if [ ! -d ${rc_base}/rc${runlevel}.d ]; then
+	boot_mesg "${rc_base}/rc${runlevel}.d does not exist." ${WARNING}
+	boot_mesg_flush
+	exit 1
+fi
+
+# Attempt to stop all services started by previous runlevel,
+# and killed in this runlevel
+if [ "${previous}" != "N" ]; then
+	for i in $(ls -v ${rc_base}/rc${runlevel}.d/K* 2> /dev/null)
+	do
+		check_script_status
+
+		suffix=${i#$rc_base/rc$runlevel.d/K[0-9][0-9]}
+		prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix
+		sysinit_start=$rc_base/rcsysinit.d/S[0-9][0-9]$suffix
+
+		if [ "${runlevel}" != "0" ] && [ "${runlevel}" != "6" ]; then
+			if [ ! -f ${prev_start} ] && [ ! -f ${sysinit_start} ]; then
+				boot_log "${i} cant be started in runlevel ${runlevel}, because it was not started in runlevel ${previous}"
+				boot_mesg -n "WARNING:\n\n${i} can't be" ${WARNING}
+				boot_mesg -n " executed because it was not"
+				boot_mesg -n " not started in the previous"
+				boot_mesg -n " runlevel (${previous})."
+				boot_mesg "" ${NORMAL}
+				boot_mesg_flush
+				continue
+			fi
+		fi
+		${i} stop
+		error_value=${?}
+
+		if [ "${error_value}" != "0" ]; then
+			print_error_msg
+		fi
+	done
+fi
+
+#Start all functions in this runlevel
+for i in $( ls -v ${rc_base}/rc${runlevel}.d/S* 2> /dev/null)
+do
+	if [ "${previous}" != "N" ]; then
+		suffix=${i#$rc_base/rc$runlevel.d/S[0-9][0-9]}
+		stop=$rc_base/rc$runlevel.d/K[0-9][0-9]$suffix
+		prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix
+
+		[ -f ${prev_start} ] && [ ! -f ${stop} ] && continue
+	fi
+
+	check_script_status
+
+	case ${runlevel} in
+		0|6)
+			${i} stop
+			;;
+		*)
+			${i} start
+			;;
+	esac
+	error_value=${?}
+
+	if [ "${error_value}" != "0" ]; then
+		print_error_msg
+	fi
+done
+
+# End $rc_base/init.d/rc
Index: bootscripts/clfs/init.d/reboot
===================================================================
--- bootscripts/clfs/init.d/reboot	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/reboot	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,31 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/reboot
+#
+# Description : Reboot Scripts
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	stop)
+		boot_mesg "Restarting system..."
+		reboot -d -f -i
+		;;
+
+	*)
+		echo "Usage: ${0} {stop}"
+		exit 1
+		;;
+
+esac
+
+# End $rc_base/init.d/reboot
Index: bootscripts/clfs/init.d/rsyslog
===================================================================
--- bootscripts/clfs/init.d/rsyslog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/rsyslog	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,51 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/sysklogd
+#
+# Description : Sysklogd loader
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Starting system log daemon..."
+		loadproc rsyslogd -c3
+		;;
+
+
+	stop)
+		boot_mesg "Stopping system log daemon..."
+		killproc rsyslogd
+		;;
+
+	reload)
+		boot_mesg "Reloading system log daemon config file..."
+		reloadproc rsyslogd
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		statusproc syslogd
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/sysklogd
Index: bootscripts/clfs/init.d/sendsignals
===================================================================
--- bootscripts/clfs/init.d/sendsignals	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/sendsignals	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,52 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/sendsignals
+#
+# Description : Sendsignals Script
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	stop)
+		boot_mesg "Sending all processes the TERM signal..."
+		killall5 -15
+		error_value=${?}
+
+		sleep ${KILLDELAY}
+
+		if [ "${error_value}" = 0 ]; then
+			echo_ok
+		else
+			echo_failure
+		fi
+
+		boot_mesg "Sending all processes the KILL signal..."
+		killall5 -9
+		error_value=${?}
+
+		sleep ${KILLDELAY}
+
+		if [ "${error_value}" = 0 ]; then
+			echo_ok
+		else
+			echo_failure
+		fi
+		;;
+
+	*)
+		echo "Usage: ${0} {stop}"
+		exit 1
+		;;
+
+esac
+
+# End $rc_base/init.d/sendsignals
Index: bootscripts/clfs/init.d/setclock
===================================================================
--- bootscripts/clfs/init.d/setclock	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/setclock	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,49 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/setclock
+#
+# Description : Setting Linux Clock
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+. /etc/sysconfig/clock
+
+CLOCKPARAMS=
+
+case "${UTC}" in
+	yes|true|1)
+		CLOCKPARAMS="${CLOCKPARAMS} --utc"
+		;;
+
+	no|false|0)
+		CLOCKPARAMS="${CLOCKPARAMS} --localtime"
+		;;
+
+esac
+
+case ${1} in
+	start)
+		boot_mesg "Setting system clock..."
+		hwclock --hctosys ${CLOCKPARAMS} >/dev/null
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Setting hardware clock..."
+		hwclock --systohc ${CLOCKPARAMS} >/dev/null
+		evaluate_retval
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop}"
+		;;
+
+esac
Index: bootscripts/clfs/init.d/setlcd
===================================================================
--- bootscripts/clfs/init.d/setlcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/setlcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,55 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/setlcd
+#
+# Description : Show IP Addresses on LCD Panel
+#
+# Author      : Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+	start)
+		ip addr show dev eth0 > /dev/null 2>&1
+		if [ "$?" = "0" ]; then
+			IFACE1_IP="`ip addr show dev eth0 | grep inet | cut -d / -f 1 | cut -d t  -f 2 | cut -d' ' -f 2 `"
+			IFACE1="$IFACE1_IP"
+		fi
+		ip addr show dev eth1 > /dev/null 2>&1
+		if [ "$?" = "0" ]; then
+			IFACE2_IP="`ip addr show dev eth1 | grep inet | cut -d / -f 1 | cut -d t  -f 2 | cut -d' ' -f 2 `"
+			IFACE2="$IFACE2_IP"
+		fi
+		if [ "$IFACE2" = "" ]; then
+			$LCD_PROG "Lan1 $IFACE1"
+		else
+			$LCD_PROG "Lan1 $IFACE1" "Lan2 $IFACE2"
+		fi
+
+	;;
+
+        stop)
+		$LCD_PROG "	" "	"
+                ;;
+
+        restart)
+                ${0} stop
+                sleep 1
+                ${0} start
+                ;;
+
+	*)
+		echo "Usage: {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/setlcd
+
Index: bootscripts/clfs/init.d/swap
===================================================================
--- bootscripts/clfs/init.d/swap	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/swap	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,50 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/swap
+#
+# Description : Swap Control Script
+#
+# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Activating all swap files/partitions..."
+		swapon -a
+		evaluate_retval
+		;;
+
+	stop)
+		boot_mesg "Deactivating all swap files/partitions..."
+		swapoff -a
+		evaluate_retval
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		boot_mesg "Retrieving swap status." ${INFO}
+		echo_ok
+		echo
+		swapon -s
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/swap
Index: bootscripts/clfs/init.d/sysctl
===================================================================
--- bootscripts/clfs/init.d/sysctl	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/sysctl	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,39 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/sysctl
+#
+# Description : File uses /etc/sysctl.conf to set kernel runtime
+#               parameters
+#
+# Authors     : Nathan Coulson (nathan@linuxfromscratch.org)
+#               Matthew Burgress (matthew@linuxfromscratch.org)
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		if [ -f "/etc/sysctl.conf" ]; then
+			boot_mesg "Setting kernel runtime parameters..."
+			sysctl -q -p
+			evaluate_retval
+		fi
+		;;
+
+	status)
+		sysctl -a	
+		;;
+
+	*)
+		echo "Usage: ${0} {start|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/sysctl
Index: bootscripts/clfs/init.d/template
===================================================================
--- bootscripts/clfs/init.d/template	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/template	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,50 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/
+#
+# Description :
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+	start)
+		boot_mesg "Starting..."
+		loadproc
+		;;
+
+	stop)
+		boot_mesg "Stopping..."
+		killproc
+		;;
+
+	reload)
+		boot_mesg "Reloading..."
+		reloadproc
+		;;
+
+	restart)
+		${0} stop
+		sleep 1
+		${0} start
+		;;
+
+	status)
+		statusproc
+		;;
+
+	*)
+		echo "Usage: ${0} {start|stop|reload|restart|status}"
+		exit 1
+		;;
+esac
+
+# End $rc_base/init.d/
Index: bootscripts/clfs/init.d/udev
===================================================================
--- bootscripts/clfs/init.d/udev	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/init.d/udev	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,95 @@
+#!/bin/bash
+########################################################################
+# Begin $rc_base/init.d/udev
+#
+# Description : Udev Boot Script
+#
+# Authors     : Based on Open Suse Udev Rules
+#               kay.sievers@suse.de
+#
+# Adapted to  : Jim Gifford
+# LFS	      : Alexander E. Patrakov
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "$1" in
+    start)
+	boot_mesg "Creating /dev in tmpfs..."
+	mount -n -t tmpfs -o mode=0755 udev /dev
+	evaluate_retval
+
+	boot_mesg "Copying static entries..."
+	cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev
+	evaluate_retval
+	
+	boot_mesg "Setting Permissons on /dev/shm..."
+	chmod 1777 /dev/shm
+	evaluate_retval
+
+	echo "" > /sys/kernel/uevent_helper
+
+	# start udevd
+	boot_mesg "Starting udevd..."
+	/sbin/udevd --daemon
+	evaluate_retval
+
+	# start coldplugging
+	boot_mesg "Performing Coldplugging..."
+
+	# unlikely, but we may be faster than the first event
+	mkdir -p /dev/.udev/queue
+
+	# configure all devices
+	/sbin/udevadm trigger
+	
+	# this replaces the old loop, exits after all devices are done
+	/sbin/udevadm settle
+
+	echo_ok
+	;;
+
+    stop)
+	boot_mesg "Stopping udevd..."
+	killproc /sbin/udevd
+	;;
+
+    restart)
+	boot_mesg "Restarting udevd..."
+	killproc /sbin/udevd
+	loadproc /sbin/udevd --daemon
+	evaluate_retval
+	;;
+
+    status)
+	statusproc /sbin/udevd
+	;;
+
+    reload)
+	boot_mesg "Reloading udev rules..."
+	udevadm control reload_rules
+	cp --preserve=all --recursive --update /lib/udev/devices/* /dev
+	evaluate_retval
+	;;
+
+    force-reload)
+	boot_mesg "Updating all available device nodes in /dev..."
+	udevadm control reload_rules
+	rm -rf /dev/.udev /dev/disk
+	cp --preserve=all --recursive --update /lib/udev/devices/* /dev
+	/sbin/udevadm trigger
+	/sbin/udevadm settle
+	evaluate_retval
+	;;
+
+    *)
+	echo "Usage: $0 {start|stop|restart|status|reload|force-reload}"
+	exit 1
+	;;
+esac
Index: bootscripts/clfs/sysconfig/bootscripts
===================================================================
--- bootscripts/clfs/sysconfig/bootscripts	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/bootscripts	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,24 @@
+########################################################################
+# Begin /etc/sysconfig/bootscripts
+#
+# Description : Bootscripts Config System
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       : Controls different aspects of the bootscripts.
+#
+########################################################################
+
+# Enable/disable interactive Prompts
+# Enable	- INTERACTIVE=y
+# Disable 	- INTERACTIVE=
+INTERACTIVE=y
+
+# Enable/disable Logging of bootup
+# Enable	- LOGGING=y
+# Disable 	- LOGGING=
+LOGGING=y
+
+# End /etc/sysconfig/bootscripts
Index: bootscripts/clfs/sysconfig/console
===================================================================
--- bootscripts/clfs/sysconfig/console	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/console	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,86 @@
+########################################################################
+# Begin /etc/sysconfig/console
+#
+# Description : Console script config file
+#
+# Authors     : Alexander E. Patrakov
+#
+# Version     : 00.00
+#
+# Notes       : Uncomment the section corresponding to your country
+#
+########################################################################
+
+# US-English users don't need this file at all, except when they
+# use framebuffer console.
+# For framebuffer users from USA or Australia:
+#
+# FONT="default8x16"
+# WARNING: this is not the same as the kernel default font!
+
+# Users from Great Britain:
+#
+# KEYMAP="uk"
+# FONT="lat1-16"
+
+# Belarussian users need to download additional fonts (TODO)
+
+# Belgium, with Euro character (information from Belgian-HOWTO)
+#
+# KEYMAP="be-latin1"
+# KEYMAP_CORRECTIONS="euro"
+# FONT="lat9-16 -u lat1"
+
+# Chinese is not supported by LFS and needs special tools
+
+# Czechia
+#
+# KEYMAP="cz-lat2"
+# FONT="lat2-16"
+
+# Hungary
+#
+# KEYMAP="hu"
+# FONT="lat2-16"
+
+# Latvian users need to download additional files from
+# http://linux.ma-1.lv/ll10nt/Latvian-HOWTO/files/konsole-files.tar.gz
+
+# Russia, one of many variants actually used
+# See the book for the contents of /etc/kbd/bs-sends-del
+#
+# KEYMAP="ru-ms"
+# KEYMAP_CORRECTIONS="/etc/kbd/bs-sends-del"
+# FONT="cp866-8x16 -m koi2alt"
+
+# Serbia (latin)
+# Need to download:
+# http://gd.tuwien.ac.at/opsys/linux/Owl/pool/sources/console-tools/kbd-sr.map.gz
+# and put it into /usr/share/kbd/keymaps/i386/qwertz/sr.map.gz
+#
+# KEYMAP="sr"
+# FONT="lat2-16"
+
+# TODO: add Serbian Cyrillic settings
+
+# Spain, with Euro character (information from
+# http://www.linuxforum.com/forums/index.php?showtopic=14590)
+#
+# KEYMAP="es"
+# KEYMAP_CORRECTIONS="euro"
+# FONT="lat9-16 -u lat1"
+
+# Slovenia
+#
+# KEYMAP="slovene"
+# FONT="lat2-16"
+
+# Croatia
+#
+# KEYMAP="croat"
+# FONT="lat2-16"
+
+# TODO: for Slovakia, there are four variants
+
+
+# End /etc/sysconfig/console
Index: bootscripts/clfs/sysconfig/createfiles
===================================================================
--- bootscripts/clfs/sysconfig/createfiles	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/createfiles	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,28 @@
+########################################################################
+# Begin /etc/sysconfig/createfiles
+#
+# Description : Createfiles script config file
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       : The syntax of this file is as follows:
+# 		if type is equal to "file" or "dir"
+#  		<filename> <type> <permissions> <user> <group>
+# 		if type is equal to "dev"
+#  		<filename> <type> <permissions> <user> <group> <devtype> <major> <minor>
+#
+# 		<filename> is the name of the file which is to be created
+# 		<type> is either file, dir, or dev.
+#   			file creates a new file
+#   			dir creates a new directory
+#   			dev creates a new device
+# 		<devtype> is either block, char or pipe
+#   			block creates a block device
+#   			char creates a character deivce
+#   			pipe creates a pipe, this will ignore the <major> and <minor> fields
+# 		<major> and <minor> are the major and minor numbers used for the device.
+########################################################################
+
+# End /etc/sysconfig/createfiles
Index: bootscripts/clfs/sysconfig/i18n
===================================================================
--- bootscripts/clfs/sysconfig/i18n	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/i18n	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,50 @@
+########################################################################
+# Begin /etc/sysconfig/i18n
+#
+# Description : i18n script config file
+#
+# Authors     : Jim Gifford
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+# FONT specifies the default font that you'd like Linux to use on the
+# console.  You can find a good selection of fonts in /usr/share/consolefonts
+# To use the default console font, comment out the FONT setting below.
+#
+FONT="LatArCyrHeb-16"
+
+# CONSOLETRANSLATION is the charset map file to use.  Leave commented to use
+# the default one.  Have a look in /usr/share/consoletrans for a selection of
+# map files you can use.
+#
+#FONT_TRANSLATION="8859-1_to_uni"
+
+# Use KEYMAP to specify the default console keymap.  There is a complete tree
+# of keymaps in /usr/share/keymaps to choose from.
+#
+KEYMAP=us
+
+# Should we first load the 'windowkeys' console keymap?  Anyone using
+# a windows keyboard will select true. Everyone else select no.
+#
+WINDOWS_KEYBOARD=no
+
+# The maps to load for extended keyboards.  Most users will leave this as is.
+#
+#EXTENDED_KEYMAPS="backspace keypad euro"
+
+# Tell dumpkeys(1) to interpret character action codes to be
+# from the specified character set.
+# For a list of valid sets, run `dumpkeys --help`
+#
+DUMPKEYS_CHARSET=""
+
+# Use UNICODE
+#
+UNICODE=yes
+
+# End /etc/sysconfig/unicode
Index: bootscripts/clfs/sysconfig/lcd
===================================================================
--- bootscripts/clfs/sysconfig/lcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/lcd	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,29 @@
+########################################################################
+# Begin /etc/sysconfig/lcd
+#
+# Description : LCD Screen Control
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       : In the bootscripts we are assuming that the normal
+#               LCD screen can handle 2 lines 16 characters.
+#               If you LCD is one line you need to set lcd1line
+#
+########################################################################
+
+# Set the # of lines for the LCD Display
+#
+LCD_LINES=1
+
+# The executable that writes to the LCD
+#
+LCD_PROG={name of lcd program}
+
+# Number of characters the screen can handle
+# 16 is the most common
+#
+LCD_CHAR=16
+
+# End /etc/sysconfig/lcd
Index: bootscripts/clfs/sysconfig/lcd-raq2
===================================================================
--- bootscripts/clfs/sysconfig/lcd-raq2	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/lcd-raq2	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,26 @@
+########################################################################
+# Begin /etc/sysconfig/lcd
+#
+# Description : LCD Screen Control
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+# Set the # of lines for the LCD Display
+#
+LCD_LINES=2
+
+# The executable that writes to the LCD
+#
+LCD_PROG=/sbin/putlcd
+
+# Number of characters the screen can handle
+#
+LCD_CHAR=16
+
+# End /etc/sysconfig/lcd
Index: bootscripts/clfs/sysconfig/lcd-raq3
===================================================================
--- bootscripts/clfs/sysconfig/lcd-raq3	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/lcd-raq3	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,26 @@
+########################################################################
+# Begin /etc/sysconfig/lcd
+#
+# Description : LCD Screen Control
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+# Set the # of lines for the LCD Display
+#
+LCD_LINES=2
+
+# The executable that writes to the LCD
+#
+LCD_PROG=/sbin/lcd-write
+
+# Number of characters the screen can handle
+#
+LCD_CHAR=16
+
+# End /etc/sysconfig/lcd
Index: bootscripts/clfs/sysconfig/modules
===================================================================
--- bootscripts/clfs/sysconfig/modules	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/modules	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,22 @@
+########################################################################
+# Begin /etc/sysconfig/modules
+#
+# Description : Module auto-loading configuration
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       : The syntax of this file is as follows:
+#  		<module> [<arg1> <arg2> ...]
+#
+# Each module should be on it's own line, and any options that you want
+# passed to the module should follow it.  The line deliminator is either
+# a space or a tab.
+#
+# This configuration file are for modules that are not autoloaded
+# via udev, like ACPI modules
+#
+########################################################################
+
+# End /etc/sysconfig/modules
Index: bootscripts/clfs/sysconfig/network-devices/ifdown
===================================================================
--- bootscripts/clfs/sysconfig/network-devices/ifdown	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/network-devices/ifdown	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,107 @@
+#!/bin/bash
+########################################################################
+# Begin $network_devices/ifdown
+#
+# Description : Interface Down
+#
+# Authors     : Nathan Coulson - nathan@linuxfromscratch.org
+#               Kevin P. Fleming - kpfleming@linuxfromscratch.org
+#
+# Version     : 00.01
+#
+# Notes       : the IFCONFIG variable is passed to the scripts found
+#               in the services directory, to indicate what file the
+#               service should source to get environmental variables.
+#
+########################################################################
+
+. /etc/sysconfig/rc 
+. ${rc_functions} 
+
+# Collect a list of configuration files for our interface
+if [ -n "${2}" ]; then
+	for file in ${@#$1}; do # All parameters except $1
+		FILES="${FILES} ${network_devices}/ifconfig.${1}/${file}"
+	done
+elif [ -d "${network_devices}/ifconfig.${1}" ]; then
+	FILES=`echo ${network_devices}/ifconfig.${1}/*`
+else
+	FILES="${network_devices}/ifconfig.${1}"
+fi
+
+# Reverse the order configuration files are processed in
+for file in ${FILES}; do
+	FILES2="${file} ${FILES2}"
+done
+FILES=${FILES2}
+
+# Process each configuration file
+for file in ${FILES}; do
+	# skip backup files
+	if [ "${file}" != "${file%""~""}" ]; then
+		continue
+	fi
+
+	if [ ! -f "${file}" ]; then
+		boot_mesg "${file} is not a network configuration file or directory." ${WARNING}
+		echo_warning
+		continue
+	fi
+	(
+		. ${file}
+
+		# Will not process this service if started by boot, and ONBOOT
+		# is not set to yes
+		if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then
+			continue
+		fi
+
+		# Will not process this service if started by hotplug, and 
+		# ONHOTPLUG is not set to yes
+		if [ "${IN_HOTPLUG}" = "1" -a "${ONHOTPLUG}" != "yes" ]; then
+			continue
+		fi
+		
+		# This will allow us to assign subinterfaces to our primary
+		if [ "${INTERFACE}" != "" ]; then
+			NET_IF=${INTERFACE}
+		else
+			NET_IF=${1}
+		fi
+
+		# This will run the service script, if SERVICE is set
+		if [ "${INTERFACE}" = "" ]; then
+			if [ -n "${SERVICE}" -a -x "${network_devices}/services/${SERVICE}" ]; then
+				TEST="`ip addr show ${NET_IF} | grep inet | grep ${NET_IF} | cut -f1 -d'/' | cut -f2 -d't' | cut -f2 -d' '`"
+				if [ -z "$TEST" ]; then
+					boot_mesg "Interface ${NET_IF} already disabled." ${WARNING}
+					echo_warning
+					continue
+				else
+					if ip link show ${NET_IF} > /dev/null 2>&1; then
+						IFCONFIG=${file} ${network_devices}/services/${SERVICE} ${NET_IF} down
+					else
+						boot_mesg "Interface ${NET_IF} doesn't exist." ${WARNING}
+						echo_warning
+					fi
+				fi
+			else
+				boot_mesg -n "Unable to process ${file}.  Either" ${FAILURE}
+				boot_mesg -n " the SERVICE variable was not set,"
+				boot_mesg " or the specified service cannot be executed."
+				echo_failure
+				continue
+			fi
+		fi
+	)
+done
+
+if [ "${INTERFACE}" = "" ]; then
+	if [ -z "${2}" ]; then
+		boot_mesg "Bringing down the ${1} interface..."
+		ip link set ${1} down
+		evaluate_retval
+	fi
+fi
+
+# End $network_devices/ifdown
Index: bootscripts/clfs/sysconfig/network-devices/ifup
===================================================================
--- bootscripts/clfs/sysconfig/network-devices/ifup	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/network-devices/ifup	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,103 @@
+#!/bin/bash
+########################################################################
+# Begin $network_devices/ifup
+#
+# Description : Interface Up
+#
+# Authors     : Nathan Coulson - nathan@linuxfromscratch.org
+#               Kevin P. Fleming - kpfleming@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       : the IFCONFIG variable is passed to the scripts found
+#               in the services directory, to indicate what file the
+#               service should source to get environmental variables.
+#
+########################################################################
+
+. /etc/sysconfig/rc 
+. ${rc_functions} 
+
+# Collect a list of configuration files for our interface
+if [ -n "${2}" ]; then
+	for file in ${@#$1} # All parameters except $1
+  do
+		FILES="${FILES} ${network_devices}/ifconfig.${1}/${file}"
+	done
+elif [ -d "${network_devices}/ifconfig.${1}" ]; then
+	FILES=`echo ${network_devices}/ifconfig.${1}/*`
+else 
+	FILES="${network_devices}/ifconfig.${1}"
+fi
+
+boot_mesg "Bringing up the ${1} interface..."
+boot_mesg_flush
+
+# Process each configuration file
+for file in ${FILES}; do
+	# skip backup files
+	if [ "${file}" != "${file%""~""}" ]; then
+		continue
+	fi
+
+	if [ ! -f "${file}" ]; then
+		boot_mesg "${file} is not a network configuration file or directory." ${WARNING}
+		echo_warning
+		continue
+	fi
+
+	(
+		. ${file}
+
+		# Will not process this service if started by boot, and ONBOOT
+		# is not set to yes
+		if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then
+			continue
+		fi
+		# Will not process this service if started by hotplug, and 
+		# ONHOTPLUG is not set to yes
+		if [ "${IN_HOTPLUG}" = "1" -a "${ONHOTPLUG}" != "yes" -a "${HOSTNAME}" != "(none)" ]; then
+			 continue
+		fi
+
+		# This will allow us to assign subinterfaces to our primary
+		if [ "${INTERFACE}" != "" ]; then
+			NET_IF=${INTERFACE}
+		else
+			NET_IF=${1}
+		fi
+
+		if [ -n "${SERVICE}" -a -x "${network_devices}/services/${SERVICE}" ]; then
+			if [ -z "${CHECK_LINK}" -o "${CHECK_LINK}" = "y" -o "${CHECK_LINK}" = "yes" -o "${CHECK_LINK}" = "1" ]; then
+				TEST="`ip addr show ${NET_IF} | grep inet | grep ${NET_IF} | cut -f1 -d'/' | cut -f2 -d't' | cut -f2 -d' '`"
+				if [ "$TEST" != "" ]; then
+						boot_mesg "Interface ${NET_IF} already configured with IP ${TEST}." ${WARNING}
+						echo_warning
+						continue
+				else
+					if ip link show ${NET_IF} > /dev/null 2>&1; then
+						link_status=`ip link show ${NET_IF} 2> /dev/null | grep ${NET_IF}`
+						if [ -n "${link_status}" ]; then
+							if ! echo "${link_status}" | grep -q UP; then
+								ip link set ${NET_IF} up
+							fi
+						fi
+					else
+						boot_mesg "Interface ${NET_IF} doesn't exist." ${WARNING}
+						echo_warning
+						continue
+					fi
+				fi
+			fi
+			IFCONFIG=${file} ${network_devices}/services/${SERVICE} ${NET_IF} up
+		else
+			boot_mesg "Unable to process ${file}.  Either" ${FAILURE}
+			boot_mesg " the SERVICE variable was not set,"
+			boot_mesg " or the specified service cannot be executed."
+			echo_failure
+			continue
+		fi
+	)
+done
+
+# End $network_devices/ifup
Index: bootscripts/clfs/sysconfig/network-devices/services/ipv4-static
===================================================================
--- bootscripts/clfs/sysconfig/network-devices/services/ipv4-static	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/network-devices/services/ipv4-static	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,82 @@
+#!/bin/bash
+########################################################################
+# Begin $network_devices/services/ipv4-static
+#
+# Description : IPV4 Static Boot Script
+#
+# Authors     : Nathan Coulson - nathan@linuxfromscratch.org
+#		Kevin P. Fleming - kpfleming@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc 
+. ${rc_functions} 
+. ${IFCONFIG}
+
+if [ -z "${IP}" ]; then
+	boot_mesg "IP variable missing from ${IFCONFIG}, cannot continue." ${FAILURE}
+	echo_failure
+	exit 1
+fi
+
+if [ -z "${PREFIX}" -a -z "${PEER}" ]; then
+	boot_mesg -n "PREFIX variable missing from ${IFCONFIG}," ${WARNING}
+	boot_mesg " assuming 24."
+	echo_warning
+	PREFIX=24
+	args="${args} ${IP}/${PREFIX}"
+elif [ -n "${PREFIX}" -a -n "${PEER}" ]; then
+	boot_mesg "PREFIX and PEER both specified in ${IFCONFIG}, cannot continue." ${FAILURE}
+	echo_failure
+	exit 1
+elif [ -n "${PREFIX}" ]; then
+	args="${args} ${IP}/${PREFIX}"
+elif [ -n "${PEER}" ]; then
+	args="${args} ${IP} peer ${PEER}"
+fi
+
+if [ -n "${BROADCAST}" ]; then
+	args="${args} broadcast ${BROADCAST}"
+fi
+
+case "${2}" in
+	up)
+		boot_mesg "Adding IPv4 address ${IP} to the ${1} interface..."
+		ip addr add ${args} dev ${1}
+		evaluate_retval
+	
+		if [ -n "${GATEWAY}" ]; then
+			if ip route | grep -q default; then
+				boot_mesg "Gateway already setup; skipping." ${WARNING}
+				echo_warning
+			else
+				boot_mesg "Setting up default gateway..."
+				ip route add default via ${GATEWAY} dev ${1}
+				evaluate_retval
+			 fi
+		fi
+	;;
+	
+	down)
+		if [ -n "${GATEWAY}" ];	then
+			boot_mesg "Removing default gateway..."
+			ip route del default
+			evaluate_retval
+		fi
+	
+		boot_mesg "Removing IPv4 address ${IP} from the ${1} interface..."
+		ip addr del ${args} dev ${1}
+		evaluate_retval
+	;;
+	
+	*)
+		echo "Usage: ${0} [interface] {up|down}"
+		exit 1
+	;;
+esac
+
+# End $network_devices/services/ipv4-static
Index: bootscripts/clfs/sysconfig/network-devices/services/ipv4-static-route
===================================================================
--- bootscripts/clfs/sysconfig/network-devices/services/ipv4-static-route	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/network-devices/services/ipv4-static-route	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,97 @@
+#!/bin/bash
+########################################################################
+# Begin $network_devices/services/ipv4-static-route
+#
+# Description : IPV4 Static Route Script
+#
+# Authors     : Kevin P. Fleming - kpfleming@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc 
+. ${rc_functions} 
+. ${IFCONFIG}
+
+case "${TYPE}" in
+	("" | "network")
+		need_ip=1
+		need_gateway=1
+	;;
+
+	("default")
+		need_gateway=1
+		args="${args} default"
+		desc="default"
+	;;
+
+	("host")
+		need_ip=1
+	;;
+
+	("unreachable")
+		need_ip=1
+		args="${args} unreachable"
+		desc="unreachable "
+	;;
+
+	(*)
+		boot_mesg "Unknown route type (${TYPE}) in ${IFCONFIG}, cannot continue." ${FAILURE}
+		echo_failure
+		exit 1
+	;;
+esac
+
+if [ -n "${need_ip}" ]; then
+	if [ -z "${IP}" ]; then
+		boot_mesg "IP variable missing from ${IFCONFIG}, cannot continue." ${FAILURE}
+		echo_failure
+		exit 1
+	fi
+
+	if [ -z "${PREFIX}" ]; then
+		boot_mesg "PREFIX variable missing from ${IFCONFIG}, cannot continue." ${FAILURE}
+		echo_failure
+		exit 1
+	fi
+	
+	args="${args} ${IP}/${PREFIX}"
+	desc="${desc}${IP}/${PREFIX}"
+fi
+
+if [ -n "${need_gateway}" ]; then
+	if [ -z "${GATEWAY}" ]; then
+		boot_mesg "GATEWAY variable missing from ${IFCONFIG}, cannot continue." ${FAILURE}
+		echo_failure
+		exit 1
+	fi
+	args="${args} via ${GATEWAY}"
+fi
+
+if [ -n "${SOURCE}" ]; then
+        args="${args} src ${SOURCE}"
+fi
+
+case "${2}" in
+	up)
+		boot_mesg "Adding '${desc}' route to the ${1} interface..."
+		ip route add ${args} dev ${1}
+		evaluate_retval
+	;;
+	
+	down)
+		boot_mesg "Removing '${desc}' route from the ${1} interface..."
+		ip route del ${args} dev ${1}
+		evaluate_retval
+	;;
+	
+	*)
+		echo "Usage: ${0} [interface] {up|down}"
+		exit 1
+	;;
+esac
+
+# End $network_devices/services/ipv4-static-route
Index: bootscripts/clfs/sysconfig/rc
===================================================================
--- bootscripts/clfs/sysconfig/rc	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/clfs/sysconfig/rc	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,18 @@
+########################################################################
+# Begin /etc/sysconfig/rc
+#
+# Description : rc script configuration
+#
+# Authors     :
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+rc_base=/etc/rc.d
+rc_functions=${rc_base}/init.d/functions
+network_devices=/etc/sysconfig/network-devices
+
+# End /etc/sysconfig/rc
Index: bootscripts/contrib/sysconfig/network-devices/services/mtu
===================================================================
--- bootscripts/contrib/sysconfig/network-devices/services/mtu	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/contrib/sysconfig/network-devices/services/mtu	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+########################################################################
+# Begin $network_devices/services/mtu
+#
+# Description : Sets MTU per interface
+#
+# Authors     : Nathan Coulson - nathan@linuxfromscratch.org
+#		Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       : This sets the maximum amount of bytes that can be
+#		transmitted within a packet.  By default, this
+#		value is set to 1500.
+#
+########################################################################
+
+. /etc/sysconfig/rc 
+. ${rc_functions}
+. ${IFCONFIG}
+
+if [ -z "${MTU}" ]
+then
+	boot_mesg "MTU variable missing from ${IFCONFIG}, cannot continue." ${FAILURE}
+	echo_failure
+	exit 1
+fi
+
+case "${2}" in
+	up)
+		boot_mesg "Setting the MTU for ${1} to ${MTU}..."
+		echo "${MTU}" > "/sys/class/net/${1}/mtu"
+		evaluate_retval
+	;;
+	
+	down)
+	;;
+	
+	*)
+		echo "Usage: ${0} [interface] {up|down}"
+		exit 1
+	;;
+esac
+
+# End $network_devices/services/mtu
Index: bootscripts/netboot/inittab
===================================================================
--- bootscripts/netboot/inittab	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/netboot/inittab	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,26 @@
+# Begin /etc/inittab
+
+id:2:initdefault:
+
+si:S:sysinit:/etc/rc.d/rc.sysinit
+
+l0:0:wait:/etc/rc.d/rc.0
+l1:1:wait:/etc/rc.d/rc.1
+l2:2:wait:/etc/rc.d/rc.2
+l3:3:wait:/etc/rc.d/rc.3
+l4:4:wait:/etc/rc.d/rc.4
+l5:5:wait:/etc/rc.d/rc.5
+l6:6:wait:/etc/rc.d/rc.6
+
+ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
+
+su:S1:respawn:/sbin/sulogin
+
+c1:2345:respawn:/sbin/agetty tty1 38400 linux
+c2:2345:respawn:/sbin/agetty tty2 38400 linux
+c3:2345:respawn:/sbin/agetty tty3 38400 linux
+c4:2345:respawn:/sbin/agetty tty4 38400 linux
+c5:2345:respawn:/sbin/agetty tty5 38400 linux
+c6:2345:respawn:/sbin/agetty tty6 38400 linux
+
+# End /etc/inittab
Index: bootscripts/netboot/rc.0
===================================================================
--- bootscripts/netboot/rc.0	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/netboot/rc.0	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,33 @@
+#!/bin/bash
+########################################################################
+# Begin /rc.0
+#
+# Description : Modified Bootscript for NFSRoot booting
+#
+# Authors     : Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
+
+echo "Sending all processes the TERM signal"
+killall5 -15
+
+echo "Sending all processes the KILL signal"
+killall5 -9
+
+echo "Syncing file systems"
+sync
+
+echo "Setting System Clock"
+hwclock --systohc --utc
+
+echo "Unmounting all other currently mounted file systems"
+umount -a -d -r &
+
+echo "Halting System"
+halt -d -f -i -p
Index: bootscripts/netboot/rc.1
===================================================================
--- bootscripts/netboot/rc.1	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/netboot/rc.1	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,15 @@
+#!/bin/bash
+########################################################################
+# Begin /rc.1
+#
+# Description : Modified Bootscript for NFSRoot booting
+#
+# Authors     : Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
Index: bootscripts/netboot/rc.sysinit
===================================================================
--- bootscripts/netboot/rc.sysinit	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
+++ bootscripts/netboot/rc.sysinit	(revision 2167cfe801d7642f4e0a33f401e9d0b8738993df)
@@ -0,0 +1,45 @@
+#!/bin/bash
+########################################################################
+# Begin /rc.sysinit
+#
+# Description : Modified Bootscript for NFSRoot booting
+#
+# Authors     : Jim Gifford - jim@linuxfromscratch.org
+#
+# Version     : 00.00
+#
+# Notes       :
+#
+########################################################################
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
+
+echo -n "Mounting kernel-based file systems:"
+echo -n " proc"
+mount -n /proc
+echo -n " sys"
+mount -n /sys
+echo ""
+
+echo "Starting udev"
+mount -n -t tmpfs -o mode=0755 udev /dev
+cp --preserve=all --recursive --remove-destination  /lib/udev/devices/* /dev
+chmod 1777 /dev/shm
+echo "" > /sys/kernel/uevent_helper
+/sbin/udevd --daemon
+mkdir -p /dev/.udev/queue
+/sbin/udevadm trigger
+/sbin/udevadm settle
+
+echo "Remounting Root File System"
+mount -n -o remount,rw /
+
+echo "Creating mtab"
+> /etc/mtab
+mount -f /
+mount -f /proc
+mount -f /sys
+mount -a -O no_netdev
+
+echo "Setting System Clock"
+hwclock --hctosys --utc
