1 | Network 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 |
|
---|
40 | SetClock 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 |
|
---|
51 | CleanFS 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 |
|
---|