diff options
Diffstat (limited to 'lsb-bootscripts/etc/default/rc')
-rw-r--r-- | lsb-bootscripts/etc/default/rc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lsb-bootscripts/etc/default/rc b/lsb-bootscripts/etc/default/rc index 4b756c54f..f821de9c4 100644 --- a/lsb-bootscripts/etc/default/rc +++ b/lsb-bootscripts/etc/default/rc @@ -1,8 +1,5 @@ # Begin /etc/default/rc -# Author: DJ Lucas - dj@linuxfromscratch.org -# Version: 1.0 LSB V.3.1 - # Global variable inherited by initscripts are in caps # Local variables for the rc script are in lowercase @@ -10,7 +7,7 @@ . /etc/default/rc.site # Set base directory information -RC_BASE="ETCDIR" +RC_BASE="/etc/rc.d" # Location of network device scripts and config files NETWORK_DEVICES="/etc/network" @@ -74,6 +71,16 @@ ilen="38" # The total length of the interactive message welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}" i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup" +# FAILURE_ACTION (what to do when script failure occurs) +case "${stop_on_error}" in + Y* | y* | 0) + FAILURE_ACTION='read Enter' + ;; + *) + FAILURE_ACTION='echo ""' + ;; +esac + # Error message displayed when a script's exit value is not zero print_error_msg() { |