aboutsummaryrefslogtreecommitdiffstats
path: root/lsb-bootscripts/etc/default
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-29 20:45:23 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-29 20:45:23 +0000
commitcb02946abfe632bc90f1eaa302b2d8d4eb73e5c9 (patch)
tree0a19838c2a1d6b59f976c3138554eb4963bf1903 /lsb-bootscripts/etc/default
parentd7f2eb08dab7e6dd88df0102ec48dce0a301dc5f (diff)
Lots of spelling fixes.
Delete the no longer used lsb-bootscripts directory git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lsb-bootscripts/etc/default')
-rw-r--r--lsb-bootscripts/etc/default/createfiles28
-rw-r--r--lsb-bootscripts/etc/default/modules18
-rw-r--r--lsb-bootscripts/etc/default/rc106
-rw-r--r--lsb-bootscripts/etc/default/rc.site27
4 files changed, 0 insertions, 179 deletions
diff --git a/lsb-bootscripts/etc/default/createfiles b/lsb-bootscripts/etc/default/createfiles
deleted file mode 100644
index c4c2428cb..000000000
--- a/lsb-bootscripts/etc/default/createfiles
+++ /dev/null
@@ -1,28 +0,0 @@
-########################################################################
-# Begin /etc/default/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
diff --git a/lsb-bootscripts/etc/default/modules b/lsb-bootscripts/etc/default/modules
deleted file mode 100644
index 40d1894c9..000000000
--- a/lsb-bootscripts/etc/default/modules
+++ /dev/null
@@ -1,18 +0,0 @@
-########################################################################
-# Begin /etc/default/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.
-########################################################################
-
-# End /etc/default/modules
diff --git a/lsb-bootscripts/etc/default/rc b/lsb-bootscripts/etc/default/rc
deleted file mode 100644
index f821de9c4..000000000
--- a/lsb-bootscripts/etc/default/rc
+++ /dev/null
@@ -1,106 +0,0 @@
-# Begin /etc/default/rc
-
-# Global variable inherited by initscripts are in caps
-# Local variables for the rc script are in lowercase
-
-# Source site specific rc configuration
-. /etc/default/rc.site
-
-# Set base directory information
-RC_BASE="/etc/rc.d"
-
-# Location of network device scripts and config files
-NETWORK_DEVICES="/etc/network"
-
-# This sets default terminal options.
-# stty sane - this has been removed as nobody recalls
-# the reason for it in the first place - if no problems arize,
-# then it will be removed completely at a later date.
-
-# Setup default values for the environment
-umask 022
-PATH="/bin:/sbin"
-
-# 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 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
-
-# Distro Information
-DISTRO="Linux From Scratch" # The distro name
-DISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report address
-DISTRO_MINI="lfs" # Short name used in filenames for distro config
-
-# Define custom colors used in messages printed to the screen
-BRACKET="\\033[1;34m" # Blue
-FAILURE="\\033[1;31m" # Red
-INFO="\\033[1;36m" # Cyan
-NORMAL="\\033[0;39m" # Grey
-SUCCESS="\\033[1;32m" # Green
-WARNING="\\033[1;33m" # Yellow
-
-# Prefix boot messages for easier reading on framebuffer consoles
-PREFIX_SUCCESS=" ${SUCCESS}*${NORMAL} "
-PREFIX_WARNING="${WARNING}**${NORMAL} "
-PREFIX_FAILURE="${FAILURE}***${NORMAL}"
-
-# Export the environment variables so they are inherited by the scripts
-export RC_BASE NETWORK_DEVICES PATH SET_COL SET_WCOL CURS_UP
-export DISTRO DISTRO_CONTACT DISTRO_MINI
-export BRACKET FAILURE INFO NORMAL SUCCESS WARNING
-export PREFIX_SUCCESS PREFIX_WARNING PREFIX_FAILURE
-
-# Interactive startup
-dlen="29" # The total length of the distro welcome string
-ilen="38" # The total length of the interactive message
-welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
-i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
-
-# FAILURE_ACTION (what to do when script failure occurs)
-case "${stop_on_error}" in
- Y* | y* | 0)
- FAILURE_ACTION='read Enter'
- ;;
- *)
- FAILURE_ACTION='echo ""'
- ;;
-esac
-
-# Error message displayed when a script's exit value is not zero
-print_error_msg()
-{
- # ${link} and ${error_value} are defined by the rc script
- echo -e "${FAILURE}FAILURE: You should not be reading this error message."
- echo -e ""
- echo -e -n "${FAILURE}It means that an unforseen error took place in"
- echo -e -n "${INFO} ${link}"
- echo -e "${FAILURE},"
- echo -e "${FAILURE}which exited with a return value of ${error_value}."
- echo -e ""
- echo -e -n "${FAILURE}If you are able to track this error down to a bug"
- echo -e "${FAILURE}in one of the files"
- echo -e -n "provided by ${INFO}${DISTRO}${FAILURE}, "
- echo -e -n "${FAILURE}please be so kind to inform us at "
- echo -e "${INFO}${DISTRO_CONTACT}${FAILURE}.${NORMAL}"
- echo -e ""
- echo -e "${INFO}Press Enter to continue..."
- echo -e "${NORMAL}"
- $FAILURE_ACTION
-}
-
-# End /etc/default/rc
diff --git a/lsb-bootscripts/etc/default/rc.site b/lsb-bootscripts/etc/default/rc.site
deleted file mode 100644
index 1e77b942d..000000000
--- a/lsb-bootscripts/etc/default/rc.site
+++ /dev/null
@@ -1,27 +0,0 @@
-# Begin /etc/default/rc.site
-
-# Global variable inherited by initscripts are in caps
-# Local variables for the rc script are in lowercase
-
-# Bootlogging (requires a tempfs mount)
-BOOTLOG_ENAB="yes"
-
-# Hostname
-HOSTNAME=<lfs>
-
-# System time variables
-UTC=1
-CLOCKPARAMS=
-
-# Export varialbles so that they are inherited by the initscripts
-export BOOTLOG_ENAB HOSTNAME UTC CLOCKPARAMS
-
-# Interactive startup
-iprompt="yes" # Wether to display the interactive boot promp
-itime="2" # The ammount of time (in seconds) to display the prompt
-
-# Manual input is not appropriate on remote systems. Wait for user input on
-# script error?
-stop_on_error="yes"
-
-# End /etc/default/rc.site