6.61. Installing LFS-Bootscripts-1.12

Estimated build time:           0.1 SBU
Estimated required disk space:  0.3 MB

6.61.1. Contents of LFS-bootscripts

The LFS-Bootscripts package contains SysV init style shell scripts. These scripts do various tasks such as check filesystem integrity during boot, load keymaps, set up networks and halt processes at shutdown.

Installed scripts: checkfs, cleanfs, functions, halt, ifdown, ifup, loadkeys, localnet, mountfs, mountproc, network, rc, reboot, sendsignals, setclock, swap, sysklogd and template

6.61.2.

6.61.3. LFS-Bootscripts Installation Dependencies

Bzip2 depends on: Bash, Coreutils.

6.61.4.

6.61.5. Installation of LFS-Bootscripts

We will be using SysV style init scripts. We have chosen this style because it is widely used and we feel comfortable with it. If you would prefer to try something else, Marc Heerdink has written a hint about BSD style init scripts, to be found at http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt. And if you'd like something more radical, search the LFS mailing lists for depinit.

If you decide to use BSD style, or some other style scripts, you can skip the next chapter when you arrive at it and move on to Chapter 8.

Install the boot scripts:

cp -a rc.d sysconfig /etc

Give root ownership of the scripts:

chown -R root:root /etc/rc.d /etc/sysconfig