diff options
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/init.d/rc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootscripts/lfs/init.d/rc b/bootscripts/lfs/init.d/rc index 4cd3ef0c1..9538b3407 100644 --- a/bootscripts/lfs/init.d/rc +++ b/bootscripts/lfs/init.d/rc @@ -100,7 +100,10 @@ if [ "${previous}" != "N" ]; then done fi -[ "${previous}" = "N" ] && IN_BOOT=1 +if [ "${previous}" = "N" ]; then + IN_BOOT=1 + export IN_BOOT +fi #Start all functions in this runlevel for i in $( ls -v /etc/rc.d/rc${runlevel}.d/S* 2> /dev/null) |