Index: bootscripts/Makefile
===================================================================
--- bootscripts/Makefile	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ bootscripts/Makefile	(revision 866fbaa291475c6b9a5e73ad1d95ac951eaaafc2)
@@ -28,5 +28,4 @@
 	install -m ${MODE} lfs/init.d/halt          ${EXTDIR}/rc.d/init.d/
 	install -m ${MODE} lfs/init.d/console       ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/hotplug       ${EXTDIR}/rc.d/init.d/
 	install -m ${MODE} lfs/init.d/localnet      ${EXTDIR}/rc.d/init.d/
 	install -m ${MODE} lfs/init.d/modules       ${EXTDIR}/rc.d/init.d/
@@ -42,8 +41,6 @@
 	install -m ${MODE} lfs/init.d/sysctl        ${EXTDIR}/rc.d/init.d/
 	install -m ${MODE} lfs/init.d/template      ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/udev          ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc0.d/K80network
 	ln -sf ../init.d/sysklogd   ${EXTDIR}/rc.d/rc0.d/K90sysklogd
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rc0.d/S50hotplug
 	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals
 	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc0.d/S70mountfs
@@ -63,5 +60,4 @@
 	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc6.d/K80network
 	ln -sf ../init.d/sysklogd   ${EXTDIR}/rc.d/rc6.d/K90sysklogd
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rc6.d/S50hotplug
 	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals
 	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rc6.d/S70mountfs
@@ -71,10 +67,8 @@
 	ln -sf ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S00mountkernfs
 	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/swap        ${EXTDIR}/rc.d/rcsysinit.d/S20swap
 	ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
 	ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
 	ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rcsysinit.d/S55hotplug
 	ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S60setclock
 	ln -sf ../init.d/console     ${EXTDIR}/rc.d/rcsysinit.d/S70console
@@ -95,53 +89,6 @@
 	install --backup=numbered -m ${CONFMODE} contrib/sysconfig/consolelog  ${EXTDIR}/sysconfig/
 
-install-lsb-compliant:
-	make -C contrib/lsb
-
 install-service-mtu: create-service-dir
 	install -m ${MODE} contrib/sysconfig/network-devices/services/mtu ${EXTDIR}/sysconfig/network-devices/services
-
-install-livecd: create-dirs create-service-dir
-	install -m ${CONFMODE} lfs/init.d/functions ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/halt          ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/console       ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} contrib/livecd/hotplug   ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/localnet      ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/rc            ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/reboot        ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/sendsignals   ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/setclock      ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/sysctl        ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/init.d/sysklogd	    ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} contrib/livecd/startup   ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} contrib/livecd/mountsqfs ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} contrib/livecd/network   ${EXTDIR}/rc.d/init.d/
-	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc0.d/K80network
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rc0.d/S50hotplug
-	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals
-	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/network     ${EXTDIR}/rc.d/rc1.d/K80network
-	ln -sf ../init.d/network     ${EXTDIR}/rc.d/rc2.d/K80network
-	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
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rc6.d/S50hotplug
-	ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals
-	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/startup     ${EXTDIR}/rc.d/rcsysinit.d/S00startup
-	ln -sf ../init.d/mountsqfs   ${EXTDIR}/rc.d/rcsysinit.d/S05mountsqfs
-	ln -sf ../init.d/hotplug     ${EXTDIR}/rc.d/rcsysinit.d/S55hotplug
-	ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S60setclock
-	ln -sf ../init.d/console     ${EXTDIR}/rc.d/rcsysinit.d/S70console
-	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/rc          ]; then install -m ${CONFMODE} lfs/sysconfig/rc          ${EXTDIR}/sysconfig/; fi
-	if [ ! -f ${EXTDIR}/sysconfig/createfiles ]; then install -m ${CONFMODE} lfs/sysconfig/createfiles ${EXTDIR}/sysconfig/; fi
-	install                   -m ${MODE} lfs/sysconfig/network-devices/ifup   ${EXTDIR}/sysconfig/network-devices/
-	install                   -m ${MODE} lfs/sysconfig/network-devices/ifdown ${EXTDIR}/sysconfig/network-devices/
-	install                   -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static       ${EXTDIR}/sysconfig/network-devices/services/
-	install                   -m ${MODE} lfs/sysconfig/network-devices/services/ipv4-static-route ${EXTDIR}/sysconfig/network-devices/services/
 
 minimal: create-dirs create-service-dir
@@ -158,5 +105,4 @@
 	install -m ${MODE} lfs/init.d/setclock      ${EXTDIR}/rc.d/init.d/
 	install -m ${MODE} lfs/init.d/swap          ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} lfs/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
@@ -168,5 +114,4 @@
 	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/swap        ${EXTDIR}/rc.d/rcsysinit.d/S20swap
 	ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
@@ -179,15 +124,5 @@
 	install                   -m 755 contrib/hotplug/net.agent   ${EXTDIR}/hotplug
 
-install-enhanced:
-	mv ${EXTDIR}/rc.d/init.d/rc ${EXTDIR}/rc.d/init.d/rc-enhanced.bak
-	mv ${EXTDIR}/rc.d/init.d/functions ${EXTDIR}/rc.d/init.d/functions-enhanced.bak
-	mv ${EXTDIR}/sysconfig/rc ${EXTDIR}/sysconfig/rc-enhanced.bak
-	install -d -m ${DIRMODE} /media/boottemp
-	install -m ${MODE} contrib/enhanced/init.d/rc ${EXTDIR}/rc.d/init.d/rc
-	install -m ${CONFMODE} contrib/enhanced/init.d/functions ${EXTDIR}/rc.d/init.d/functions
-	install -m ${CONFMODE} contrib/enhanced/sysconfig/rc ${EXTDIR}/sysconfig/rc
-
 .PHONY: all create-dirs create-service-dir \
 	install install-service-mtu install-livecd \
 	install-net-agent install-enhanced
-
Index: otscripts/contrib/enhanced/README
===================================================================
--- bootscripts/contrib/enhanced/README	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,35 +1,0 @@
-The enhanced rc script adds features previously found in earlier 
-versions of the lfs-bootscripts.  It also adds the ability to 
-'interactively' step through the init scripts at boot time.  The 
-/etc/sysconfig/rc file contains new variables that set the time for 
-prompt, and allow you to change the name that is displayed in the prompt.
-
-Additionally, the script completes the bootloging setup 
-(lfs-bootscripts 3.2.{1,2})by providing a temporary location to capture 
-the log messages that are generated before your syslog daemon is started.  
-tmpfs is mounted at /media/boottemp/ as soon as rc is called for the first 
-time.  It is unmounted as soon as we leave sysinit, and the temporary log 
-file is appended to the existing boot.log file.  To use this feature requires
-a couple of changes.  By default, the bootlog uses the local2 facility.
-This is configurable in the /etc/sysconfig/rc file.  Additionally, to meet 
-FHS guidelines, the logger binary must be moved to /bin.  This is hardcoded 
-into the scripts, and a proper check is made, in fact returning logger to 
-/usr/bin is the easiest way to disable bootlogging.
-
-The tmpfs is availible for any script durring the entire time of rc's 
-execution and is unmounted when rc exits a numbered runlevel.  Durring 
-sysinit, the functions script has been modified to log to the temporary 
-file, and once in a numbered runlevel, will return to the old behavior 
-allowing your syslog daemon to capture and deliver the boot messages to 
-the log file.  The temporary filesystem can be used for other purposes 
-as well but is currently used only for the interactive lock file and the 
-initial bootlog cache.  The scripts are current as of 
-lfs-bootscripts-3.2.3-pre-1 and can be installed by running 
-'make install-enhanced' from the toplevel directory.
-
-Finally, the boot_mesg function contains very complicated line wrapping code,
-that was seldom used, and hence removed from the bootscripts.  It has been
-made availible again here, however, it is known not to work with some 
-locales.  The syntax is the same as the current boot_mesg function.
-
-
Index: otscripts/contrib/enhanced/init.d/functions
===================================================================
--- bootscripts/contrib/enhanced/init.d/functions	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,795 +1,0 @@
-#!/bin/sh
-########################################################################
-# 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
-#               Updated for Interactive bootscript execution and 
-#               bootlogging prior to start of syslog
-########################################################################
-
-## 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))
-
-## Set Cursor Position Commands, used via echo -e
-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 -e
-# 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
-
-## Set screen and bootlog message values to zero
-BOOTMESG=""        # text meant for the logfile
-BOOTMESGPRN=""     # text meant for the console
-CUR_LENGTH="0"      # the current line length
-CHARS_LEFT="${WCOL}"      # avilible space on the current line
-STRING_LENGTH="0"   # the length of the current message
-BMSEP=""           # contains neline separated bootmessage
-BMSEPCT=""         # used for character counts of each word in BMSEP
-BMWORD=""          # last printed word before a newline when wrapping text
-
-#*******************************************************************************
-# 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 \n's in a variable.
-#               
-# Todo:         - This function was created for the purpose of storing
-#               information to be passed to a bootup log and for better
-#               formatting of text sent to the screen.  The logging support
-#               now pushes messages to the local2 service which is now
-#               configured by LFS default in syslog.conf.  This also 
-#               requires that /usr/bin/logger be moved to /bin.
-#               Support for parallel bootscripts is not added *yet*...
-#*******************************************************************************
-boot_mesg()
-{
-	local ECHOPARM=""
-	##### NOTE!!!! A single message cannot span two complete lines
-	##### (longer than WCOL) or exceed 100 words.
-
-	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. 
-	# This is effectivly eqivelent to wc -m.
-	STRING_LENGTH="$(( `echo "${1}" | sed \
-		-e 's,.,.,g' -e 'l 1' | grep -c \$` - 2 ))"
-
-	# Append to BOOTMESG for logging
-	BOOTMESG="${BOOTMESG} ${1}"
-
-	# Find out how much room is left to work with
-	CHARS_LEFT="$(( ${WCOL} - ${CUR_LENGTH} ))"
-
-	# If the message doesn't exceed the remaining columns 
-	# of the current line, just print it...
-	if [ "${STRING_LENGTH}" -le "${CHARS_LEFT}" ]; then
-		CUR_LENGTH="$(( ${CUR_LENGTH} + ${STRING_LENGTH} ))"
-		BOOTMESGPRN="${1}"
-
-		# Avoid a null value being passed to sed
-		if [ "${STRING_LENGTH}" -eq "${CHARS_LEFT}" ]; then
-			# set CUR_LENGTH to zero
-			CUR_LENGTH="0"
-		fi
-
-	else
-				
-		## Do some adjustments to the output because it
-		## it is too long to fit on one line
-
-		# BMSEP is the boot message with each word 
-		# on one line of it's own
-		BMSEP=`echo "${1}" | sed 's/ /\\\n/g'`
-
-		# To work proerly with unicode, each character 
-		# is replaced with a single dot (.) for counting.
-		### Note that this is still broken for Chinese, 
-		### Japanese, and Korean because of characters 
-		### that actually use two columns when printed 
-		### to the screen.
-		BMSEPCT=`echo -e "${BMSEP}" | sed 's/././g'`
-		
-		# keep adding the character count of each line
-		# untill the count exceeds the value of CHARS_LEFT
-		# There is a ceiling of 100 words!
-		n="1"
-		while [ "${n}" -lt "100" ]; do
-			char_count="$(( `echo -e "${BMSEPCT}" |	\
-				sed -n "${n}"'~0p' | sed 'l 1' | \
-				grep -c \$` - 2 ))"
-			if [ "$(( ${CUR_LENGTH} + ${char_count} ))" \
-				-lt "${WCOL}" ]; then
-				let n++
-				CUR_LENGTH="$(( ${CUR_LENGTH} + ${char_count} + 1 ))"
-			else
-				let n--
-				break;
-			fi
-		done
-
-		# The number of words that will fit is now
-		# represented by 'n'.  Find the nth word.
-		BMWORD="$( echo -e "${BMSEP}" | sed -n "${n}"'~0p' )"
-
-		# Get rid of the extra space
-		BMWORD="${BMWORD} "
-
-		# And format the message as needed.
-		BOOTMESGPRN=`echo "${1}" | \
-			sed "s/${BMWORD}/${BMWORD}\\\n/"`
-
-		# Now, determine the length of the second line
-		CUR_LENGTH=$(( `echo -e "${BOOTMESGPRN}" | sed -n '2~0p' | \
-			sed -e 's,.,.,g' -e 'l 1' | grep -c \$` - 2 ))
-	fi
-
-	# Print the results to the screen
-	echo ${ECHOPARM} -e "${2}${BOOTMESGPRN}"
-	
-	# if CUR_LENGTH was set to zero, then end the line
-	if [ "${CUR_LENGTH}" = "0" ]; then
-		echo ""	
-	fi
-}
-
-boot_mesg_flush()
-{
-	# Do not log null messages
-	if [ -z "${BOOTMESG}" ]; then
-		return 0
-	else
-		boot_log "${BOOTMESG}${@}"
-	fi
-	
-	# Reset boot message buffers to keep from bleeding over again
-	BOOTMESG=""
-	BOOTMESGPRN=""
-	CUR_LENGTH="0"
-	CHARS_LEFT="${WCOL}"
-	STRING_LENGTH="0"
-	BMSEP=""
-	BMSEPCT=""	
-	BMWORD=""
-}
-
-boot_log()
-{
-	if [ -f /bin/logger ]; then
-		if [ "${runlevel}" = "sysinit" ]; then
-			/bin/logger -t bootlog "${@}" -s 2>&1 | \
-				cat >> /media/boottemp/.logcache
-		else
-			/bin/logger -p "${BLSERVICE}".info -t bootlog "${@}"
-		fi
-	else
-		return 0
-	fi
-}
-
-echo_ok()
-{
-	echo -n -e "${CURS_UP}${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]"
-	echo -e "${NORMAL}"
-	boot_mesg_flush "[  OK  ]"
-}
-
-echo_failure()
-{
-	echo -n -e "${CURS_UP}${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]"
-	echo -e "${NORMAL}"
-	boot_mesg_flush "[ FAIL ]"
-}
-
-echo_warning()
-{
-	echo -n -e "${CURS_UP}${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]"
-	echo -e "${NORMAL}"
-	boot_mesg_flush "[ WARN ]"
-}
-
-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_flush
-	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 LFS book, please be so kind to inform us at"
-	boot_mesg " lfs-dev@linuxfromscratch.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[${CUR_LENGTH}G   "
-					boot_mesg "Already running." ${WARNING}
-					echo_warning
-					;;
-				not_running)
-					echo -e -n "${CURS_UP}"
-					echo -e -n "\\033[${CUR_LENGTH}G   "
-					boot_mesg "Not running." ${WARNING}
-					echo_warning
-					;;
-				not_available)
-					echo -e -n "${CURS_UP}"
-					echo -e -n "\\033[${CUR_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()
-{
-	if [ "${#}" = "0" ]; then
-		echo "Usage: reloadproc [{program}]"
-		exit 1
-	fi
-
-	getpids "${1}"
-
-	if [ -n "${pidlist}" ];	then
-		failure="0"
-		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()
-{
-	if [ "${#}" = "0" ]
-	then
-		echo "Usage: statusproc {program}"
-		exit 1
-	fi
-
-	getpids "${1}"
-
-	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
-}
-
-# 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}" > /dev/null &&
-				pidlist="${pidlist} ${pid}"
-			fi
-			
-			if [ "${silent}" -ne "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 [ "x${silent}" != "x1" ]; 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 LFS 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 LFS 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
-#
-# 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=""
-	pidlist=""
-
-# This will ensure compatibility with previous LFS 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
-
-	if [ -z "${pidfile}" ];	then
-		pidofproc -s "${1}"
-	else
-		pidofproc -s -p "${pidfile}" "${1}"
-	fi
-
-    if [ -n "${pidlist}" ]; then
-	for pid in ${pidlist}
-	do
-		kill -${killsig:-TERM} ${pid} 2>/dev/null
-		if [ -z "${killsig}" ]; then
-			# Wait up to 3 seconds, for ${pid} to terminate
-			local dtime=${KILLDELAY}
-			while [ "${dtime}" != "0" ]
-			do
-				kill -0 ${pid} 2>/dev/null || break
-				sleep 1
-				dtime=$(( ${dtime} - 1))
-			done
-			# If ${pid} is still running, kill it
-			kill -0 ${pid} 2>/dev/null && kill -KILL ${pid} 2>/dev/null
-		fi
-	done
-
-	if [ -z "${killsig}" ];	then
-		pidofproc -s "${1}"
-
-		# Program was terminated
-		if [ "$?" != "0" ]; then
-			# Pidfile Exists
-			if [ -f "${pidfile}" ];	then
-				rm -f "${pidfile}"
-			fi
-			echo_ok
-			return 0
-		else # Program is still running
-			echo_failure
-			return 4 # Unknown Status
-		fi
-	else
-		if [ -z "${pidfile}" ];	then
-			pidofproc -s "${1}"
-		else
-			pidofproc -s -p "${pidfile}" "${1}"
-		fi
-	fi
-
-	evaluate_retval 
-
-    else
-	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: otscripts/contrib/enhanced/init.d/rc
===================================================================
--- bootscripts/contrib/enhanced/init.d/rc	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,218 +1,0 @@
-#!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/rc
-#
-# Description : Main RunLevel Control Script - Interactive Version
-#
-# 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}
-export runlevel
-
-# Begin addition for tmpfs
-#export BOOTLOGCACHE=""
-if [ "${runlevel}" = "sysinit" ]; then
-	mount -n -t tmpfs tmpfs /media/boottemp -o mode=600
-fi
-# End addition for tmpfs
-
-if [ "${runlevel}" = "" ]
-then
-	echo "Usage: ${0} <runlevel>" >&2
-	exit 1
-fi
-
-previous=${PREVLEVEL}
-[ "${previous}" = "" ] && previous=N
-
-# Begin addition for interactive starup.
-if [ "${runlevel}" != "sysinit" -a -f /media/boottemp/.interactive-start ]; then
-	. /media/boottemp/.interactive-start
-fi
-
-if [ "${INTERACTIVE}" = "I" -a "${runlevel}" != "sysinit" -a \
-	"${runlevel}" != "0" -a "${runlevel}" != "6" ]; then
-	echo -n -e "Proceed with interactive starup of runlevel "
-	echo -n -e "${INFO}${runlevel}${NORMAL}?" 
-	echo -n -e "(${FAILURE}y${NORMAL})es/(${FAILURE}n${NORMAL})o "
-	read -n 1 go_on
-	echo ""
-	if [ "${go_on}" = "n" ]; then
-		# don't continue	
-		exit 0
-	fi
-fi
-
-if [ "${runlevel}" = "sysinit" -a "${IPROMPT}" = "yes" ]; then
-	ls -l /bin/sh | grep bash 2>&1 > /dev/null
-	if [ "${?}" = "0" ]; then
-		# Okay..we are using bash for the shell
-		# so -t and -n are okay for read
-		echo ""
-		# DTAB is the amount of spaces needed to format the message
-		# on the screen correctly.
-		DTAB=$(( $(( ${COLUMNS} - ${DLEN} )) / 2 ))
-		echo -e "\\033[${DTAB}G""Welcome to ${INFO}${DISTRO}"
-		ITAB=$(( $(( ${COLUMNS} - ${ILEN} )) / 2 ))
-		# The "Press 'I'" message is broken in two for readability here
-		echo -n -e "\\033[${ITAB}G""${NORMAL}Press '${FAILURE}I${NORMAL}'"
-		echo -e " to enter interactive startup"
-		echo ""
-		read -t ${ITIME} -n 1 INTERACTIVE 2> /dev/null
-		export INTERACTIVE
-		if [ "${INTERACTIVE}" = "I" ]; then
-			echo -n -e "${CURS_UP}"
-		        echo -e "${INFO}Interactive mode selected...${NORMAL}"
-		        echo "INTERACTIVE=${INTERACTIVE}"
-		        echo ""
-		fi
-	fi
-fi		
-
-# End addition for interactive startup
-
-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 service 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
-			;;
-		*)
-			# Begin setup for interactive starup
-			if [ "${INTERACTIVE}" = "I" ]; then
-				echo -n -e "Start ${INFO}${i}${NORMAL} ? "
-				echo -n -e "(${FAILURE}y${NORMAL})es/"
-				echo -n -e "(${FAILURE}n${NORMAL})o "
-
-				# Set startit variable to an unusable value
-				startit="x"
-				while [ "${startit}" != "y" -a \
-					"${startit}" != "n" ]; do
-					read -n 1 startit > /dev/null
-				done
-
-				if [ "${startit}" = "y" ]; then
-					echo ""
-					${i} start
-					echo ""
-				else
-					echo ""
-					echo -e "Not starting ${INFO}${i}${NORMAL}!"
-					echo ""
-				fi
-			unset startit
-			unset testsok
-			else
-			# Non-Interactive Startup
-			${i} start
-			fi
-			;;
-	esac
-	error_value=${?}
-
-	if [ "${error_value}" != "0" ]
-	then
-		print_error_msg
-	fi
-
-done
-
-# Begin addition #3 for interactive starup
-if [ "${INTERACTIVE}" = "I" ]; then
-	# Insert check for writeable /tmp here
-	echo "INTERACTIVE='I'" > /media/boottemp/.interactive-start 2> /dev/null
-else 
-	# Clear any existing file
-	rm -f /media/boottemp/.interactive-start 2>&1 > /dev/null
-fi
-# End addition #3 for interactive startup
-
-# Begin addition for inital bootlog
-if [ "${runlevel}" = "sysinit" ]; then
-	BTIMESPEC=$(echo `date +"%b %d %T"` `hostname`)
-	cat /media/boottemp/.logcache | sed "s@bootlog:@${BTIMESPEC} bootlog:@g" >> /var/log/boot.log
-	rm -f /media/boottemp/.logcache
-fi
-# End addition for inital bootlog
-
-# Begin addition for tmpfs
-if [ "${runlevel}" != "sysinit" ]; then
-	# Check to see if our temporary filesystem is mounted
-	mount | grep boottemp 2>&1 > /dev/null
-	if [ "$?" -eq "0" ]; then
-		umount /media/boottemp
-	fi
-fi
-# End addition for tempfs
-
-# End $rc_base/init.d/rc
Index: otscripts/contrib/enhanced/sysconfig/rc
===================================================================
--- bootscripts/contrib/enhanced/sysconfig/rc	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,31 +1,0 @@
-########################################################################
-# Begin /etc/sysconfig/rc
-#
-# Description : rc script configuration
-#
-# Authors     :
-#
-# Version     : 00.00
-#
-# Notes       : Updated for use with interactive rc script
-#
-########################################################################
-
-rc_base=/etc/rc.d
-rc_functions=${rc_base}/init.d/functions
-network_devices=/etc/sysconfig/network-devices
-
-# Setup for interactive startup
-DISTRO="Linux From Scratch"
-ITIME="2"
-# DLEN is the length of the string 'DISTRO' (Default 29)
-# ILEN is the length of the interactive prompt (Default 38)
-DLEN="29"
-ILEN="38"
-IPROMPT="yes"
-# End setup for interactive
-
-# Set service for bootlogging
-BLSERVICE="local2"
-
-# End /etc/sysconfig/rc
Index: otscripts/contrib/livecd/hotplug
===================================================================
--- bootscripts/contrib/livecd/hotplug	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,48 +1,0 @@
-#!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/hotplug
-#
-# Description : Load modules for system devices
-#
-# Authors     : Zack Winkles, Jeremy Huntwork
-#
-# Version     : 00.00
-#
-# Notes       : Adjusted this script for use with the lfs-livecd,
-#		adding support for 'expert' cmdline option
-#
-########################################################################
-
-. /etc/sysconfig/rc
-. ${rc_functions}
-
-case "${1}" in
-	start|restart)
-		if ! cat /proc/cmdline | grep -q "expert" ; then
-			boot_mesg "Loading modules for system devices..."
-			for rc in /etc/hotplug/*.rc
-			do
-				${rc} ${1}
-			done
-		else
-			boot_mesg "Expert Mode: Skipping module loading..."
-		fi
-		echo_ok
-		;;
-	stop)
-		# Remove hotplug as the default manager of hotplug events
-		echo /bin/true > /proc/sys/kernel/hotplug
-		;;
-	status)
-		for rc in /etc/hotplug/*.rc
-		do
-			${rc} status
-		done
-		;;
-	*)
-		echo "Usage: ${0} {start|stop|restart|status}"
-		exit 1
-		;;
-esac
-
-# End $rc_base/init.d/hotplug
Index: otscripts/contrib/livecd/mountsqfs
===================================================================
--- bootscripts/contrib/livecd/mountsqfs	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,31 +1,0 @@
-#!/bin/sh
-##################################################################
-# Begin $rc_base/init.d/mountsqfs
-#
-# Description : Mounts squashed usr dir on livecd
-#
-# Authors     : Jeremy Huntwork, jhuntwork@linuxfromscratch.org
-#
-# Date 	      : 2005-01-26
-#
-##################################################################
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-	start)
-		cd /
-		boot_mesg "Mounting squashed usr directory..."
-		mkdir /usr
-		mount -t squashfs /.cdrom/usr.sqfs /usr -o loop
-		echo_ok
-		;;
-
-	*)
-		echo "Usage: $0 {start}"
-		exit 1
-		;;
-esac
-
-# End $rc_base/init.d/
Index: otscripts/contrib/livecd/network
===================================================================
--- bootscripts/contrib/livecd/network	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,102 +1,0 @@
-#!/bin/sh
-########################################################################
-# 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
-#		Jeremy Huntwork - jhuntwork@linuxfromscratch.org
-#
-# Version     : 00.00
-#
-# Notes       : Adjusted this script to be used with the LFS LiveCD,
-#		making use of the 'expert' cmdline option
-#
-########################################################################
-
-. /etc/sysconfig/rc
-. ${rc_functions}
-. /etc/sysconfig/network
-
-case "${1}" in
-	start)
-		# Start all network interfaces
-		if ! cat /proc/cmdline | grep -q "expert" ; then
-			for file in ${network_devices}/ifconfig.*
-			do
-				interface=${file##*/ifconfig.}
-
-				# skip if $file is * (because nothing was found)
-				if [ "${interface}" = "*" ]; then
-					continue
-				fi
-
-				# A subshell allows us to open files,
-				# without contaminating our network bootscript with
-				# unneeded variables
-				(
-					. ${file}
-					# If ONBOOT does not equal yes, process the next file
-					if [ "${ONBOOT}" != "yes" ]; then
-						continue
-					fi
-
-					# Bring up ${interface}
-					${network_devices}/ifup ${interface}
-				)
-			done
-		else
-			boot_mesg "Expert Mode: Skipping network setup..."
-			echo_ok
-		fi
-		;;
-
-	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
-
-			# A subshell allows us to open files,
-			# without contaminating our network bootscript with
-			# unneeded variables
-			(
-				. ${file}
-				# If ONBOOT does not equal yes, process the next file
-				if [ "${ONBOOT}" != "yes" ]; then
-					continue
-				fi
-
-				# Bring up ${interface}
-				${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: otscripts/contrib/livecd/startup
===================================================================
--- bootscripts/contrib/livecd/startup	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,36 +1,0 @@
-#!/bin/sh
-############################################################################
-# Begin $rc_base/init.d/startup
-#
-# Description : Removes etc symlink and untars etc and root
-#
-# Authors     : Original by Chris Lingard, chris@stockwith.co.uk
-#               Modified by Jeremy Huntwork, jhuntwork@linuxfromscratch.org
-#
-# Date        : 2005-01-26
-#
-############################################################################
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-	start)
-		boot_mesg "Unpacking files to /etc..."
-		cd /
-		cp /etc/locatedb /var/lib/locate/
-		/bin/rm  /etc /init
-		/bin/tar xjf /.cdrom/etc.tar.bz2
-		echo_ok
-		boot_mesg "Unpacking files to /root..."
-		/bin/tar xjf /.cdrom/root.tar.bz2
-		echo_ok
-		;;
-
-	*)
-		echo "Usage: $0 {start}"
-		exit 1
-		;;
-esac
-
-# End $rc_base/init.d/
Index: otscripts/contrib/lsb/Makefile
===================================================================
--- bootscripts/contrib/lsb/Makefile	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,11 +1,0 @@
-ETCDIR=/etc
-EXTDIR=${DESTDIR}${ETCDIR}
-MODE=754
-DIRMODE=755
-CONFMODE=644
-
-install:
-	install -d -m ${DIRMODE} ${DESTDIR}/lib/lsb
-	install -m ${CONFMODE} lib/init-functions ${DESTDIR}/lib/lsb
-
-.PHONY: install
Index: otscripts/contrib/lsb/lib/init-functions
===================================================================
--- bootscripts/contrib/lsb/lib/init-functions	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ 	(revision )
@@ -1,348 +1,0 @@
-
-#*******************************************************************************
-# Function - start_daemon [-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 or excessive number of arguments, 
-#                     warning in stdout
-#          return 4 - Program or service status is unknown
-#
-# Dependencies: nice
-#
-# Todo: none
-#
-#*******************************************************************************
-start_daemon()
-{
-  local pidfile=""
-	local forcestart=""
-	local nicelevel="0"
-
-	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
-				;;
-			*)
-				break
-				;;
-		esac
-	done
-
-	if [ -z "${forcestart}" ]; then
-		if [ -z "${pidfile}" ]; then
-			pidofproc "${1}" > /dev/null
-		else
-			pidofproc -p "${pidfile}" "${1}" > /dev/null
-		fi
-
-		case "${?}" in
-			0)
-				log_warning_msg "Unable to continue: ${1} is running"
-				return 4
-				;;
-			1)
-				log_warning_msg "Unable to continue: ${pidfile} exists"
-				return 4
-				;;
-			3)
-				;;
-			*)
-				log_failure_msg "Unknown error code from pidofproc: ${?}"
-				return 4
-				;;
-		esac
-	fi
-
-	nice -n "${nicelevel}" "${@}"
-}
-
-#*******************************************************************************
-# 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 1 - Invalid or excessive number of arguments, 
-#                     warning in stdout
-#          return 4 - Unknown Status
-#
-# Dependencies: kill
-#
-# Todo: test
-#
-#*******************************************************************************
-killproc()
-{
-	local pidfile=""
-	local killsig=""
-	local pidlist=""
-	while true
-	do
-		case "${1}" in
-			-p)
-				pidfile="${2}"
-				shift 2
-				;;
-			-*)
-				log_failure_msg "Unknown Option: ${1}"
-				return 1
-				;;
-			*)
-				break
-				;;
-		esac
-	done
-
-	if [ "${#}" = "2" ]; then
-		killsig="${2}"
-	elif [ "${#}" != "1" ]; then
-		shift 2
-		log_failure_msg "Excess Arguments: $@"
-		return 1
-	fi
-
-	if [ -z "${pidfile}" ]; then
-		pidlist=`pidofproc "${1}"`
-	else
-		pidlist=`pidofproc -p "${pidfile}" "${1}"`
-	fi
-
-	for pid in ${pidlist}
-	do
-		kill -${killsig:-TERM} ${pid} 2> /dev/null
-		if [ -z "${killsig}" ]; then
-			# Wait up to 3 seconds, for ${pid} to terminate
-			local dtime=3
-			while [ "${dtime}" != "0" ]
-			do
-				kill -0 ${pid} 2> /dev/null || break
-				sleep 1
-				dtime=$(( ${dtime} - 1))
-			done
-			# If ${pid} is still running, kill it
-			kill -0 ${pid} 2> /dev/null && kill -KILL ${pid} 2> /dev/null
-		fi
-	done
-
-	if [ -z "${killsig}" ]; then
-		pidofproc "${1}" 2>&1 > /dev/null
-	
-		# Program was terminated
-		if [ "$?" != "0" ]; then
-			# Pidfile Exists
-			if [ -f "${pidfile}" ];	then
-				rm -f "${pidfile}" 2>&1 > /dev/null
-			fi
-			return 0
-		else # Program is still running
-			return 4 # Unknown Status
-		fi
-	else
-		if [ -z "${pidfile}" ]; then
-			pidofproc "${1}" 2> /dev/null
-		else
-			pidofproc -p "${pidfile}" "${1}" 2> /dev/null
-		fi
-	fi
-}
-
-#*******************************************************************************
-# Function - pidofproc [-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 - Invalid or excessive number of arguments, 
-#                     warning in stdout
-#          return 1 - Program is dead, pidfile exists
-#          return 3 - Program is not running
-#
-# Dependencies: pidof, echo
-#
-# Todo: - Invalid or excessive argments, and program is dead pidfile exists
-#         conflict with eachother
-#
-#*******************************************************************************
-pidofproc()
-{
-	local pidfile=""
-	local lpids=""
-	local pidlist=""
-	while true
-	do
-		case "${1}" in
-			-p)
-				pidfile="${2}"
-				shift 2
-				;;
-			-*)
-				log_failure_msg "Unknown Option: ${1}"
-				return 1
-				;;
-			*)
-				break
-				;;
-		esac
-	done
-
-	if [ "${#}" != "1" ]; then
-		shift 1
-		log_failure_msg "Excess Arguments: $@"
-		return 1
-	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
-			echo ${pidlist}
-			test -z "${pidlist}" && return 1 # Program is dead, pidfile exists
-			return 0
-		done
-		
-	else
-		pidof "${1}"
-	fi
-
-	if [ "$?" != "0" ]; then
-		return 3 # Program is not running
-	fi
-}
-
-# Screen Dimentions
-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))
-
-# Set Cursur Position Commands, used via echo -e
-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 -e
-# Please consult `man console_codes` for more information
-# under the "Set Graphics Resolution" 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
-
-BOOTMESG_PREFIX=" * "        # Text at the beginning of every line
-
-
-#*******************************************************************************
-# Function - log_success_msg "message"
-#
-# Purpose: Print a success message
-#
-# Inputs:
-#
-# Outputs:
-#
-# 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
-}
-
Index: bootscripts/lfs/init.d/checkfs
===================================================================
--- bootscripts/lfs/init.d/checkfs	(revision a54d6332c349785dd93d30bb9f1f7b466160ff26)
+++ bootscripts/lfs/init.d/checkfs	(revision 866fbaa291475c6b9a5e73ad1d95ac951eaaafc2)
@@ -52,5 +52,5 @@
 			boot_mesg "" ${NORMAL}
 			read ENTER
-			/etc/rc.d/init.d/halt stop
+			${rc_base}/init.d/halt stop
 		fi
 
@@ -111,5 +111,5 @@
 			boot_mesg "" ${NORMAL}
 			read ENTER
-			/etc/rc.d/init.d/halt stop
+		  ${rc_base}/halt stop
 		fi
 
