aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-23 17:06:43 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-23 17:06:43 +0000
commit240ff150c6a2700866b7cf9505f5af933f3df3e3 (patch)
tree76d48418e0c4b6e2fc21bdb8e3b8ec694c4f5b88 /bootscripts
parent620c6d09e7d7154c1b6380adbdb00847175a2727 (diff)
Allow variables in rc.site to override defaults
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9602 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/lib/services/init-functions6
1 files changed, 2 insertions, 4 deletions
diff --git a/bootscripts/lfs/lib/services/init-functions b/bootscripts/lfs/lib/services/init-functions
index 02d0c876d..93931dca9 100644
--- a/bootscripts/lfs/lib/services/init-functions
+++ b/bootscripts/lfs/lib/services/init-functions
@@ -18,9 +18,6 @@
#
########################################################################
-# Set any needed environment variables e.g. HEADLESS
-[ -r /etc/sysconfig/rc.site ] && . /etc/sysconfig/rc.site
-
## Environmental setup
# Setup default values for environment
umask 022
@@ -66,7 +63,8 @@ BRACKET="\\033[1;34m" # Brackets are blue
BOOTLOG=/run/var/bootlog
KILLDELAY=3
-
+# Set any user specified environment variables e.g. HEADLESS
+[ -r /etc/sysconfig/rc.site ] && . /etc/sysconfig/rc.site
################################################################################
# start_daemon() #