remove ch6 zlib, and workaround binutils issue
[linux_from_scratch.git] / BOOK / bootscripts / README
blob9c08faf395ffecaf268053c3a8ce0b73e4f800c8
1 Network Configuration:
2    Script Files:
3       /etc/rc.d/init.d/*
4       /sbin/ifup
5       /sbin/ifdown
6       /lib/lsb/*
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
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
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
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)
35 SetClock configuration:
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
43 CleanFS configuration:
44    Script Files:
45       /etc/rc.d/init.d/cleanfs
47    Configuration Files:
48       /etc/sysconfig/rc.site
49       - SKIPTMPCLEAN: skips cleaning of /tmp directory
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.