aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
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() #