| 1 | The enhanced rc script adds features previously found in earlier | 
|---|
| 2 | versions of the lfs-bootscripts.  It also adds the ability to | 
|---|
| 3 | 'interactively' step through the init scripts at boot time.  The | 
|---|
| 4 | /etc/sysconfig/rc file contains new variables that set the time for | 
|---|
| 5 | prompt, and allow you to change the name that is displayed in the prompt. | 
|---|
| 6 |  | 
|---|
| 7 | Additionally, the script completes the bootloging setup | 
|---|
| 8 | (lfs-bootscripts 3.2.{1,2})by providing a temporary location to capture | 
|---|
| 9 | the log messages that are generated before your syslog daemon is started. | 
|---|
| 10 | tmpfs is mounted at /media/boottemp/ as soon as rc is called for the first | 
|---|
| 11 | time.  It is unmounted as soon as we leave sysinit, and the temporary log | 
|---|
| 12 | file is appended to the existing boot.log file.  To use this feature requires | 
|---|
| 13 | a couple of changes.  By default, the bootlog uses the local2 facility. | 
|---|
| 14 | This is configurable in the /etc/sysconfig/rc file.  Additionally, to meet | 
|---|
| 15 | FHS guidelines, the logger binary must be moved to /bin.  This is hardcoded | 
|---|
| 16 | into the scripts, and a proper check is made, in fact returning logger to | 
|---|
| 17 | /usr/bin is the easiest way to disable bootlogging. | 
|---|
| 18 |  | 
|---|
| 19 | The tmpfs is availible for any script durring the entire time of rc's | 
|---|
| 20 | execution and is unmounted when rc exits a numbered runlevel.  Durring | 
|---|
| 21 | sysinit, the functions script has been modified to log to the temporary | 
|---|
| 22 | file, and once in a numbered runlevel, will return to the old behavior | 
|---|
| 23 | allowing your syslog daemon to capture and deliver the boot messages to | 
|---|
| 24 | the log file.  The temporary filesystem can be used for other purposes | 
|---|
| 25 | as well but is currently used only for the interactive lock file and the | 
|---|
| 26 | initial bootlog cache.  The scripts are current as of | 
|---|
| 27 | lfs-bootscripts-3.2.3-pre-1 and can be installed by running | 
|---|
| 28 | 'make install-enhanced' from the toplevel directory. | 
|---|
| 29 |  | 
|---|
| 30 | Finally, the boot_mesg function contains very complicated line wrapping code, | 
|---|
| 31 | that was seldom used, and hence removed from the bootscripts.  It has been | 
|---|
| 32 | made availible again here, however, it is known not to work with some | 
|---|
| 33 | locales.  The syntax is the same as the current boot_mesg function. | 
|---|
| 34 |  | 
|---|
| 35 |  | 
|---|