source: bootscripts-standard/bootscripts/README@ c6664b3

Last change on this file since c6664b3 was c6664b3, checked in by Chris Staub <chris@…>, 11 years ago

Fixed spelling error

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[2167cfe]1Network Configuration:
2 Script Files:
3 rc.d/init.d/network
4 sysconfig/network-devices/ifup
5 sysconfig/network-devices/ifdown
6 sysconfig/network-devices/services/*
7
8 Configuration Files:
9 sysconfig/network-devices/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 - SERVICE: which script to run in services directory.
17 - ONBOOT: if set to yes, this interface will be started on
18 bootup, and stopped on shutdown
19 sysconfig/network
20 - HOSTNAME: Value of the system's hostname
21
22 Additional Configuration:
23 sysconfig/network-devices/ifconfig.*
24 ipv4-static:
25 - IP: static IP Address
26 - GATEWAY: Specifies the IP Address of the gateway server
27 - PREFIX: CIDR prefix of IP Address, defaults to 24 if not set
28 - PEER: IP Address of peer (for point-to-point connections and tunnels)
29 - BROADCAST: broadcast address
30 ipv4-static-route:
31 - TYPE: network (default type if not specified), default, host or
32 unreachable
33 - IP: IP Address of target (for network, host and unreachable)
34 - PREFIX: CIDR prefix of target (for network, host and unreachable)
35 - GATEWAY: IP Address of gateway to reach target (for network and default)
36
37
38SetClock configuration:
39 Script Files:
40 rc.d/init.d/setclock
41
42 Configuration Files:
43 sysconfig/clock
44 - UTC: 1 assumes hwclock is in UTC
45 0 assumes hwclock is in local time
46
47CleanFS configuration:
48 Script Files:
49 rc.d/init.d/cleanfs
50
51 Configuration Files:
52 /etc/sysconfig/createfiles
[c6664b3]53 Each line is parsed, using space as a delimiter.
[2167cfe]54 [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
55 The below fields are currently only used on dev type.
56 ([DEV TYPE] [MAJOR#] [MINOR#])
57 Name:
58 File/Directory/Device name
59 Type:
60 dir: creates a directory
61 file: creates a file
62 dev: creates a device
63 Permissions:
64 chmod the created file
65 User/Group:
66 chown the created file/dir to this user/group
67 Dev Type:
68 char: character [needs MAJOR#, MINOR#]
69 block: block [needs MAJOR#, MINOR#]
70 pipe: pipe
71 Major#:
72 Used by character and block devices.
73 Minor#:
74 Used by character and block devices.
Note: See TracBrowser for help on using the repository browser.