source: bootscripts/README@ 6206f72

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 6206f72 was f874424, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

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

  • Property mode set to 100644
File size: 2.5 KB
Line 
1Network Configuration:
2 Script Files:
3 /etc/rc.d/init.d/*
4 /sbin/ifup
5 /sbin/ifdown
6 /lib/lsb/*
7
8 Configuration Files:
9 /etc/sysconfig/ifconfig.*
10 Note: ifconfig.* files will be processed
11 in alphanumerical order on boot, and reversed on shutdown.
12 - IFACE : The interface that is being configured (e.g. eth0)
13 - SERVICE: Which script to run in services directory.
14 - ONBOOT : If set to yes, this interface will be started on bootup
15
16 /etc/sysconfig/network
17 - HOSTNAME: Value of the system's hostname (From LFS Book)
18 This value may also be set in /etc/sysconfig/rc.site
19
20 Additional Configuration:
21 SERVICE ipv4-static:
22 - IP : Static IP Address
23 - GATEWAY : Specifies the IP Address of the gateway server
24 - PREFIX : CIDR prefix of IP Address, defaults to 24 if not set
25 - PEER : IP Address of peer (for point-to-point connections and tunnels)
26 - BROADCAST: Broadcast address
27
28 SERVICE ipv4-static-route:
29 - TYPE : Network (default type if not specified), default, host or unreachable
30 - IP : IP Address of target (for network, host and unreachable)
31 - PREFIX : CIDR prefix of target (for network, host and unreachable)
32 - GATEWAY: IP Address of gateway to reach target (for network and default)
33
34
35SetClock configuration:
36
37 /etc/rc.d/init.d/cleanfs
38 - SKIPTMPCLEAN: skips cleaning of /tmp directory
39
40 Configuration Files:
41 /etc/sysconfig/clock or /etc/sysconfig/rc.site
42 - UTC: 1 assumes hwclock is in UTC
43 0 assumes hwclock is in local time
44 - CLOCKPARAMS: any additional options to be passed to hwclock
45
46CleanFS configuration:
47 Script Files:
48 /etc/rc.d/init.d/cleanfs
49
50 Configuration Files:
51 /etc/sysconfig/createfiles
52 Each line is parsed, using space as a deliminator.
53 [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
54 The below fields are currently only used on dev type.
55 ([DEV TYPE] [MAJOR#] [MINOR#])
56 Name:
57 File/Directory/Device name
58 Type:
59 dir: creates a directory
60 file: creates a file
61 dev: creates a device
62 Permissions:
63 chmod the created file
64 User/Group:
65 chown the created file/dir to this user/group
66 Dev Type:
67 char: character [needs MAJOR#, MINOR#]
68 block: block [needs MAJOR#, MINOR#]
69 pipe: pipe
70 Major#:
71 Used by character and block devices.
72 Minor#:
73 Used by character and block devices.
74
Note: See TracBrowser for help on using the repository browser.