source: bootscripts/README@ a44ae577

11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since a44ae577 was a44ae577, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at end of lines - bootscripts

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[1c48007]1Network Configuration:
[0cda898]2 Script Files:
[f874424]3 /etc/rc.d/init.d/*
[0cda898]4 /sbin/ifup
5 /sbin/ifdown
[f874424]6 /lib/lsb/*
[1c48007]7
[0cda898]8 Configuration Files:
9 /etc/sysconfig/ifconfig.*
[f874424]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
[1c48007]15
[0cda898]16 /etc/sysconfig/network
[f874424]17 - HOSTNAME: Value of the system's hostname (From LFS Book)
18 This value may also be set in /etc/sysconfig/rc.site
[1c48007]19
[0cda898]20 Additional Configuration:
[f874424]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
[0cda898]27
[f874424]28 SERVICE ipv4-static-route:
[be8bda0]29 - TYPE : network (default type if not specified), default, host or unreachable
[f874424]30 - IP : IP Address of target (for network, host and unreachable)
31 - PREFIX : CIDR prefix of target (for network, host and unreachable)
[0cda898]32 - GATEWAY: IP Address of gateway to reach target (for network and default)
[1c48007]33
34
35SetClock configuration:
[f874424]36
[0cda898]37 Configuration Files:
[f874424]38 /etc/sysconfig/clock or /etc/sysconfig/rc.site
[0cda898]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
[1c48007]42
43CleanFS configuration:
[0cda898]44 Script Files:
45 /etc/rc.d/init.d/cleanfs
46
47 Configuration Files:
[75128f91]48 /etc/sysconfig/rc.site
[3ed5e23]49 - SKIPTMPCLEAN: skips cleaning of /tmp directory
[1c48007]50
[a44ae577]51 /etc/sysconfig/createfiles
[75128f91]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.
74
Note: See TracBrowser for help on using the repository browser.