%general-entities; ]> bootscripts &lfs-bootscripts-version;
&lfs-bootscripts-url;
LFS-Bootscripts-&lfs-bootscripts-version; Bootscripts <para>The LFS-Bootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown. The configuration files and procedures needed to customize the boot process are described in the following sections.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&lfs-bootscripts-cfg-sbu;</seg> <seg>&lfs-bootscripts-cfg-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of LFS-Bootscripts Install the package: make install Contents of LFS-Bootscripts Installed scripts Installed directories checkfs, cleanfs, console, functions, halt, ifdown, ifup, localnet, modules, mountfs, mountvirtfs, network, rc, reboot, sendsignals, setclock, ipv4-static, swap, sysctl, sysklogd, template, udev, and udev_retry /etc/rc.d, /etc/init.d (symbolic link), /etc/sysconfig, /lib/services, /lib/lsb (symbolic link) Short Descriptions checkfs Checks the integrity of the file systems before they are mounted (with the exception of journal and network based file systems) checkfs cleanfs Removes files that should not be preserved between reboots, such as those in /run/ and /var/lock/; it re-creates /run/utmp and removes the possibly present /etc/nologin, /fastboot, and /forcefsck files cleanfs console Loads the correct keymap table for the desired keyboard layout; it also sets the screen font console functions Contains common functions, such as error and status checking, that are used by several bootscripts functions halt Halts the system halt ifdown Stops a network device ifdown ifup Initializes a network device ifup localnet Sets up the system's hostname and local loopback device localnet modules Loads kernel modules listed in /etc/sysconfig/modules, using arguments that are also given there modules mountfs Mounts all file systems, except ones that are marked noauto or are network based mountfs mountvirtfs Mounts virtual kernel file systems, such as proc mountvirtfs network Sets up network interfaces, such as network cards, and sets up the default gateway (where applicable) network rc The master run-level control script; it is responsible for running all the other bootscripts one-by-one, in a sequence determined by the name of the symbolic links being processed rc reboot Reboots the system reboot sendsignals Makes sure every process is terminated before the system reboots or halts sendsignals setclock Resets the kernel clock to local time in case the hardware clock is not set to UTC time setclock ipv4-static Provides the functionality needed to assign a static Internet Protocol (IP) address to a network interface ipv4-static swap Enables and disables swap files and partitions swap sysctl Loads system configuration values from /etc/sysctl.conf, if that file exists, into the running kernel sysctl sysklogd Starts and stops the system and kernel log daemons sysklogd template A template to create custom bootscripts for other daemons template udev Prepares the /dev directory and starts Udev udev udev_retry Retries failed udev uevents, and copies generated rules files from /run/udev to /etc/udev/rules.d if required udev_retry