source: bootscripts/contrib/enhanced/README@ f87f99c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f87f99c was 163a6701, checked in by Jim Gifford <clfs@…>, 19 years ago

r720@server (orig r718): jim | 2005-11-18 08:06:26 -0800
Added bootscripts to cross-lfs svn

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