| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 | # Set base directory informationRC_BASE="/etc"RC_FUNCTIONS="${RC_BASE}/init.d/lfs-functions"# Location of network device scripts and config filesNETWORK_DEVICES="/etc/sysconfig/network-devices"# Directory to store boot process accounting information# Used for boot logging and interactive flag when rootfs# is not writableTEMPFS_MOUNT="${RC_BASE}/init.d/boottemp"# Bootlogging (requires a tempfs mount)BOOTLOG_ENAB="yes"# Distro InformationDISTRO="Linux From Scratch" # The distro nameDISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report addressDISTRO_MINI="lfs" # Short name used in filenames for distro config# Define custom colors used in messages printed to the screenBRACKET="\\033[1;34m" # BlueFAILURE="\\033[1;31m" # RedINFO="\\033[1;36m"    # CyanNORMAL="\\033[0;39m"  # GreySUCCESS="\\033[1;32m" # GreenWARNING="\\033[1;33m" # Yellow# Prefix boot messages for easier reading on framebuffer consolesPREFIX_SUCCESS=" ${SUCCESS}*${NORMAL} "PREFIX_WARNING="${WARNING}**${NORMAL} "PREFIX_FAILURE="${FAILURE}***${NORMAL}"# Export varialbles so that they are inherited by the initscriptsexport RC_BASE RC_FUNCTIONS NETWORK_DEVICES TEMPFS_MOUNT BOOTLOG_ENABexport DISTRO DISTRO_CONTACT DISTRO_MINIexport BRACKET FAILURE INFO NORMAL SUCCESS WARNINGexport PREFIX_SUCCESS PREFIX_WARNING PREFIX_FAILURE# Interactive startupiprompt="yes" # Wether to display the interactive boot prompitime="2" # The ammount of time (in seconds) to display the promptdlen="29" # The total length of the distro welcome stringilen="38" # The total length of the interactive messagewelcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"# Error message displayed when a script's exit value is not zeroprint_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}"    read ENTER}
 |