diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2011-05-14 18:46:00 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2011-05-14 18:46:00 +0000 |
commit | bd1b5bedc2ae793dcfd6cfd85d9e10040e4b5b05 (patch) | |
tree | b80d525547e2e2b6cd47f20c3103e2c7d69d01cb /bootscripts/contrib/lsb-v3/sysconfig/rc.site | |
parent | 34a7193e49ec669618f44d247cd3a33bdd0e7069 (diff) |
Added FAILURE_ACTION variable to rc.site
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9526 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/sysconfig/rc.site')
-rw-r--r-- | bootscripts/contrib/lsb-v3/sysconfig/rc.site | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bootscripts/contrib/lsb-v3/sysconfig/rc.site b/bootscripts/contrib/lsb-v3/sysconfig/rc.site index cf58e2fd7..63ef59096 100644 --- a/bootscripts/contrib/lsb-v3/sysconfig/rc.site +++ b/bootscripts/contrib/lsb-v3/sysconfig/rc.site @@ -13,6 +13,10 @@ TEMPFS_MOUNT="${RC_BASE}/init.d/boottemp" # Bootlogging (requires a tempfs mount) BOOTLOG_ENAB="yes" +# Manual input is not appropriate on remote systems. Define what happens when +# an error is encountered that interupts the boot/shutdown proceess +FAILURE_ACTION="read ENTER" + # Distro Information DISTRO="Linux From Scratch" # The distro name DISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report address @@ -33,6 +37,7 @@ PREFIX_FAILURE="${FAILURE}***${NORMAL}" # Export varialbles so that they are inherited by the initscripts export RC_BASE RC_FUNCTIONS NETWORK_DEVICES TEMPFS_MOUNT BOOTLOG_ENAB +export FAILURE_ACTION export DISTRO DISTRO_CONTACT DISTRO_MINI export BRACKET FAILURE INFO NORMAL SUCCESS WARNING export PREFIX_SUCCESS PREFIX_WARNING PREFIX_FAILURE @@ -64,6 +69,6 @@ print_error_msg() echo -e "" echo -e "${INFO}Press Enter to continue..." echo -e "${NORMAL}" - read ENTER + $FAILURE_ACTION } |