
Linux From Scratch - Version 7.0
215
rc.site also contains parameters that can customize other aspects of the boot process. Setting the IPROMPT
variable will enable selective running of bootscripts. Other options are described in the file comments. The default
version of the file is as follows:
# rc.site
# Optional parameters for boot scripts.
# Distro Information
DISTRO="Linux From Scratch" # The distro name
DISTRO_MINI="LFS" # Short name used in filenames for distro config
# Define custom colors used in messages printed to the screen
# These values, if specified here, override the defaults
#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
# Interactive startup
#IPROMPT="yes" # Whether to display the interactive boot promp
itime="10" # The ammount of time (in seconds) to display the prompt
# The total length of the distro welcome string, without escape codes
wlen=$(echo "Welcome to ${DISTRO}" | wc -c )
welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
# The total length of the interactive string, without escape codes
ilen=$(echo "Press 'I' to enter interactive startup" | wc -c )
i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
# Set scripts to skip the file system check on reboot
#FASTBOOT=yes
# Skip reading from the console
#HEADLESS=yes
# Skip cleaning /tmp
#SKIPTMPCLEAN=yes
# For setclock
#UTC=1
#CLOCKPARAMS=
# For consolelog
Comentarios a estos manuales