10.2. CLFS-Bootscripts-1.0-pre5

The CLFS-Bootscripts package contains a set of scripts to start/stop the ELFS system at bootup/shutdown.

10.2.1. Installation of CLFS-Bootscripts

Install the package:

make DESTDIR=${CLFS} install-bootscripts

The ELFS startup bootscript is /etc/rc.d/startup, but BusyBox will look for /etc/init.d/rcS to use as its startup script. To ensure BusyBox finds the startup script, create the ${CLFS}/etc/init.d directory and a symlink:

install -dv ${CLFS}/etc/init.d
ln -sfv ../rc.d/startup ${CLFS}/etc/init.d/rcS

10.2.2. Contents of CLFS-Bootscripts

Installed scripts: bridge, functions, network, start, stop, and syslog.

Short Descriptions

bridge

Sets up network bridging, if configured

functions

Contains common functions, such as error and status checking, that are used by several bootscripts

network

Sets up network interfaces, such as network cards, and sets up the default gateway (where applicable)

syslog

Starts and stops the system log daemons