aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/README
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-19 03:31:46 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-19 03:31:46 +0000
commitf874424cabc59e63f2458c25527f7c18632194a9 (patch)
treedc5398d63d6102961238625576578de5f3772665 /bootscripts/README
parent103bbd63fe104a52e181da0653c43212b990f5e6 (diff)
Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
Move network services to /lib/services. Move init-functions to /lib/lsb. Make /lib/lsb a symlink to /lib/services. Create convenience symlink /etc/init.d->/etc/rc.d/init.d Add help and man pages to ifup/ifdown. Append /run/var/bootlog to /var/log/boot.log at the end of the boot sequence. Add capability to step through the boot scripts at boot time. Optionally allow environment variables in sysconfig directory's console, network, and clock files to be placed in rc.site. Add an optional FASTBOOT parameter to set /fastboot when rebooting. Remove a minor warning message from udev that is triggered by the udev_retry boot script. Add SKIPTMPCLEAN as an optional parameter to skip cleaning /tmp at boot time. Add a page to Chapter 7 documenting rc.site. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9597 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/README')
-rw-r--r--bootscripts/README49
1 files changed, 22 insertions, 27 deletions
diff --git a/bootscripts/README b/bootscripts/README
index 726fa1747..6a12b3cfe 100644
--- a/bootscripts/README
+++ b/bootscripts/README
@@ -1,49 +1,44 @@
Network Configuration:
Script Files:
- /etc/rc.d/init.d/network
+ /etc/rc.d/init.d/*
/sbin/ifup
/sbin/ifdown
- /lib/boot/*/*
+ /lib/lsb/*
Configuration Files:
/etc/sysconfig/ifconfig.*
- Note: ifconfig.* could be either a file or directory,
- but the filename extension must be the same name
- as the network interface you wish it to belong to.
- The files within the directory will be processed
- in alphanumerical order on boot, and reversed on
- shutdown.
- - IFACE: the interface that is being configured (e.g. eth0)
- - SERVICE: which script to run in services directory.
- - ONBOOT: if set to yes, this interface will be started on
- bootup, and stopped on shutdown
+ Note: ifconfig.* files will be processed
+ in alphanumerical order on boot, and reversed on shutdown.
+ - IFACE : The interface that is being configured (e.g. eth0)
+ - SERVICE: Which script to run in services directory.
+ - ONBOOT : If set to yes, this interface will be started on bootup
/etc/sysconfig/network
- - HOSTNAME: Value of the system's hostname
+ - HOSTNAME: Value of the system's hostname (From LFS Book)
+ This value may also be set in /etc/sysconfig/rc.site
Additional Configuration:
- ipv4-static:
- - IP: static IP Address
- - GATEWAY: Specifies the IP Address of the gateway server
- - PREFIX: CIDR prefix of IP Address, defaults to 24 if not set
- - PEER: IP Address of peer (for point-to-point connections and tunnels)
- - BROADCAST: broadcast address
+ SERVICE ipv4-static:
+ - IP : Static IP Address
+ - GATEWAY : Specifies the IP Address of the gateway server
+ - PREFIX : CIDR prefix of IP Address, defaults to 24 if not set
+ - PEER : IP Address of peer (for point-to-point connections and tunnels)
+ - BROADCAST: Broadcast address
- ipv4-static-route:
- - TYPE: network (default type if not specified), default, host or
- unreachable
- - IP: IP Address of target (for network, host and unreachable)
- - PREFIX: CIDR prefix of target (for network, host and unreachable)
+ SERVICE ipv4-static-route:
+ - TYPE : Network (default type if not specified), default, host or unreachable
+ - IP : IP Address of target (for network, host and unreachable)
+ - PREFIX : CIDR prefix of target (for network, host and unreachable)
- GATEWAY: IP Address of gateway to reach target (for network and default)
SetClock configuration:
- Script Files:
- /etc/rc.d/init.d/setclock
+
+ /etc/rc.d/init.d/cleanfs
- SKIPTMPCLEAN: skips cleaning of /tmp directory
Configuration Files:
- /etc/sysconfig/clock
+ /etc/sysconfig/clock or /etc/sysconfig/rc.site
- UTC: 1 assumes hwclock is in UTC
0 assumes hwclock is in local time
- CLOCKPARAMS: any additional options to be passed to hwclock