Changeset 701d877e for bootscripts/lfs/init.d
- Timestamp:
- 11/28/2011 09:05:32 AM (13 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7505caa
- Parents:
- d53a9b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/rc
rd53a9b7 r701d877e 88 88 DISTRO_CONTACT=${DISTRO_CONTACT:-"lfs-dev@linuxfromscratch.org (Registration required)"} 89 89 DISTRO_MINI=${DISTRO_MINI:-"LFS"} 90 IPROMPT=${IPROMPT:-"no"} 90 91 91 92 # These 3 signals will not cause our script to exit … … 113 114 114 115 if [ "${IPROMPT}" == "yes" -a "${runlevel}" == "S" ]; then 115 # dcol and icol are spaces before the message to center the 116 # message on screen. 117 116 # The total length of the distro welcome string, without escape codes 117 wlen=${wlen:-$(echo "Welcome to ${DISTRO}" | wc -c )} 118 welcome_message=${welcome_message:-"Welcome to ${INFO}${DISTRO}${NORMAL}"} 119 120 # The total length of the interactive string, without escape codes 121 ilen=${ilen:-$(echo "Press 'I' to enter interactive startup" | wc -c )} 122 i_message=${i_message:-"Press '${FAILURE}I${NORMAL}' to enter interactive startup"} 123 124 125 # dcol and icol are spaces before the message to center the message 126 # on screen. itime is the amount of wait time for the user to press a key 118 127 wcol=$(( ( ${COLUMNS} - ${wlen} ) / 2 )) 119 128 icol=$(( ( ${COLUMNS} - ${ilen} ) / 2 )) 129 itime=${itime:-"3"} 120 130 121 131 echo -e "\n\n"
Note:
See TracChangeset
for help on using the changeset viewer.