blob: 4b908dc4a1f12ad5fddfa3c8221182f2e841fc5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
Network Configuration:
Script Files:
rc.d/init.d/network
sysconfig/network-devices/ifup
sysconfig/network-devices/ifdown
sysconfig/network-devices/services/*
Configuration Files:
sysconfig/network-devices/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.
- SERVICE: which script to run in services directory.
- ONBOOT: if set to yes, this interface will be started on
bootup, and stopped on shutdown
sysconfig/network
- HOSTNAME: Value of the system's hostname
Additional Configuration:
sysconfig/network-devices/ifconfig.*
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)
- GATEWAY: IP Address of gateway to reach target (for network and default)
SetClock configuration:
Script Files:
rc.d/init.d/setclock
Configuration Files:
sysconfig/clock
- UTC: 1 assumes hwclock is in UTC
0 assumes hwclock is in local time
- CLOCKPARAMS: any additional options to be passed to hwclock
CleanFS configuration:
Script Files:
rc.d/init.d/cleanfs
Configuration Files:
/etc/sysconfig/createfiles
Each line is parsed, using space as a deliminator.
[NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
The below fields are currently only used on dev type.
([DEV TYPE] [MAJOR#] [MINOR#])
Name:
File/Directory/Device name
Type:
dir: creates a directory
file: creates a file
dev: creates a device
Permissions:
chmod the created file
User/Group:
chown the created file/dir to this user/group
Dev Type:
char: character [needs MAJOR#, MINOR#]
block: block [needs MAJOR#, MINOR#]
pipe: pipe
Major#:
Used by character and block devices.
Minor#:
Used by character and block devices.
|