source: bootscripts/README@ b875e19

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 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 b875e19 was be8bda0, checked in by Chris Staub <chris@…>, 10 years ago

network is case-sensitive

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10781 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/*
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 Configuration Files:
38 /etc/sysconfig/clock or /etc/sysconfig/rc.site
39 - UTC: 1 assumes hwclock is in UTC
40 0 assumes hwclock is in local time
41 - CLOCKPARAMS: any additional options to be passed to hwclock
42
43CleanFS configuration:
44 Script Files:
45 /etc/rc.d/init.d/cleanfs
46
47 Configuration Files:
48 /etc/sysconfig/rc.site
49 - SKIPTMPCLEAN: skips cleaning of /tmp directory
50
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.