source: bootscripts/README@ 0cda898

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.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 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 0cda898 was 0cda898, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Rewrite bootscripts and Chaper 7

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9574 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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