7.2. LFS-Bootscripts-2.2.2

The LFS-Bootscripts package contains a set of bootscripts.

Approximate build time: 0.1 SBU

Required disk space: 0.3 MB

LFS-Bootscripts installation depends on: Bash and Coreutils

7.2.1. Installation of LFS-Bootscripts

Install the package:

make install

7.2.2. Contents of LFS-bootscripts

Installed scripts: checkfs, cleanfs, console, functions, halt, ifdown, ifup, localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals, setclock, static, swap, sysklogd, template, and udev

Short Descriptions

checkfs

Checks the file systems before they are mounted (with the exception of journal and network based file systems)

cleanfs

Removes files that should not be preserved between reboots, such as those in /var/run/ and /var/lock/; it re-creates /var/run/utmp and removes the possibly present /etc/nologin, /fastboot, and /forcefsck files

console

Loads the keymap table specified as proper for the keyboard layout; it also sets the screen font

functions

Contains functions shared among different scripts, such as error and status checking

halt

Halts the system

ifdown

Assists the network script with network devices

ifup

Assists the network script with network devices

localnet

Sets up the system's hostname and local loopback device

mountfs

Mounts all file systems, except ones that are marked noauto or are network based

mountkernfs

Is used to mount kernel-provided file systems, such as proc

network

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

rc

The master run-level control script; it is responsible for running all other scripts one-by-one, in a sequence determined by the name of the symbolic links being processed

reboot

Reboots the system

sendsignals

Makes sure every process is terminated before the system reboots or halts

setclock

Resets the kernel clock to local time in case the hardware clock is not set to UTC time

static

Provides the functionality needed to assign a static Internet Protocol (IP) address to a network interface

swap

Enables and disables swap files and partitions

sysklogd

Starts and stops the system and kernel log daemons

template

A template to create custom bootscripts for other daemons

udev

Sets up udev and create the devices nodes in /dev