source: bootscripts/README@ 45aa421

6.5
Last change on this file since 45aa421 was 45aa421, checked in by Matthew Burgess <matthew@…>, 15 years ago

Correct a couple of issues in the bootscript documentation. Fixes #2469.

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

  • Property mode set to 100644
File size: 2.3 KB
Line 
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
20 sysconfig/network
21 - HOSTNAME: Value of the system's hostname
22
23 Additional Configuration:
24 sysconfig/network-devices/ifconfig.*
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 ipv4-static-route:
32 - TYPE: network (default type if not specified), default, host or
33 unreachable
34 - IP: IP Address of target (for network, host and unreachable)
35 - PREFIX: CIDR prefix of target (for network, host and unreachable)
36 - GATEWAY: IP Address of gateway to reach target (for network and default)
37
38
39SetClock configuration:
40 Script Files:
41 rc.d/init.d/setclock
42
43 Configuration Files:
44 sysconfig/clock
45 - UTC: 1 assumes hwclock is in UTC
46 0 assumes hwclock is in local time
47 - CLOCKPARAMS: any additional options to be passed to hwclock
48
49CleanFS configuration:
50 Script Files:
51 rc.d/init.d/cleanfs
52
53 Configuration Files:
54 /etc/sysconfig/createfiles
55 Each line is parsed, using space as a deliminator.
56 [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
57 The below fields are currently only used on dev type.
58 ([DEV TYPE] [MAJOR#] [MINOR#])
59 Name:
60 File/Directory/Device name
61 Type:
62 dir: creates a directory
63 file: creates a file
64 dev: creates a device
65 Permissions:
66 chmod the created file
67 User/Group:
68 chown the created file/dir to this user/group
69 Dev Type:
70 char: character [needs MAJOR#, MINOR#]
71 block: block [needs MAJOR#, MINOR#]
72 pipe: pipe
73 Major#:
74 Used by character and block devices.
75 Minor#:
76 Used by character and block devices.
Note: See TracBrowser for help on using the repository browser.