aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/etc/default/rc
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
commitdc55fb5e4b99cd1150afe41f7ce50333a773bb6a (patch)
tree3d49341fb38468a5f6c85b54c08171ced1e96c90 /bootscripts/contrib/lsb-v3/etc/default/rc
parentb4a678295e56da7be73a847cb460b477a54efc8a (diff)
Changes per thread starting at http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-May/064677.html
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/etc/default/rc')
-rw-r--r--bootscripts/contrib/lsb-v3/etc/default/rc16
1 files changed, 4 insertions, 12 deletions
diff --git a/bootscripts/contrib/lsb-v3/etc/default/rc b/bootscripts/contrib/lsb-v3/etc/default/rc
index ffb70d98c..96bd476d9 100644
--- a/bootscripts/contrib/lsb-v3/etc/default/rc
+++ b/bootscripts/contrib/lsb-v3/etc/default/rc
@@ -1,4 +1,4 @@
-# Begin /etc/sysconfig/rc
+# Begin /etc/default/rc
# Author: DJ Lucas - dj@linuxfromscratch.org
# Version: 1.0 LSB V.3.1
@@ -7,7 +7,7 @@
# Local variables for the rc script are in lowercase
# Source site specific rc configuration
-. /etc/sysconfig/rc.site
+. /etc/default/rc.site
# This sets default terminal options.
# stty sane - this has been removed as nobody recalls
@@ -38,15 +38,7 @@ 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
-# Bootlogging and interactive startup require a valid tempfs mount
-# if this mount is not present, disable them
-if [ "${TEMPFS_MOUNT}" = "" -o ! -d "${TEMPFS_MOUNT}" ]; then
- TEMPFS_MOUNT=""
- iprompt=""
- BOOTLOG_ENAB=""
-fi
-
# Export the environment variables so they are inherited by the scripts
-export PATH SET_COL SET_WCOL CURS_UP TEMPFS_MOUNT BOOTLOG_ENAB RUNLEVEL
+export PATH SET_COL SET_WCOL CURS_UP BOOTLOG_ENAB
-# End /etc/sysconfig/rc
+# End /etc/default/rc