Changeset 0cda898 for bootscripts/README


Ignore:
Timestamp:
08/02/2011 02:15:42 AM (13 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 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, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, 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
Children:
a2e555d
Parents:
75fe599
Message:

Rewrite bootscripts and Chaper 7

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/README

    r75fe599 r0cda898  
    11Network 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/*
     2   Script Files:
     3      /etc/rc.d/init.d/network
     4      /sbin/ifup
     5      /sbin/ifdown
     6      /lib/boot/*/*
    77
    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
     8   Configuration Files:
     9      /etc/sysconfig/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      - IFACE: the interface that is being configured (e.g. eth0)
     17      - SERVICE: which script to run in services directory.
     18      - ONBOOT: if set to yes, this interface will be started on
     19                bootup, and stopped on shutdown
    1920
    20                 sysconfig/network
    21                 - HOSTNAME: Value of the system's hostname
     21      /etc/sysconfig/network
     22      - HOSTNAME: Value of the system's hostname
    2223
    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)
     24   Additional Configuration:
     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
     32      ipv4-static-route:
     33      - TYPE: network (default type if not specified), default, host or
     34        unreachable
     35      - IP: IP Address of target (for network, host and unreachable)
     36      - PREFIX: CIDR prefix of target (for network, host and unreachable)
     37      - GATEWAY: IP Address of gateway to reach target (for network and default)
    3738
    3839
    3940SetClock configuration:
    40         Script Files:
    41                 rc.d/init.d/setclock
     41   Script Files:
     42      /etc/rc.d/init.d/setclock
     43      - SKIPTMPCLEAN: skips cleaning of /tmp directory
    4244
    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
     45   Configuration Files:
     46      /etc/sysconfig/clock
     47      - UTC: 1 assumes hwclock is in UTC
     48             0 assumes hwclock is in local time
     49      - CLOCKPARAMS: any additional options to be passed to hwclock
    4850
    4951CleanFS configuration:
    50         Script Files:
    51                 rc.d/init.d/cleanfs
     52   Script Files:
     53      /etc/rc.d/init.d/cleanfs
    5254
    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.
     55   Configuration Files:
     56      /etc/sysconfig/createfiles
     57      Each line is parsed, using space as a deliminator.
     58      [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
     59      The below fields are currently only used on dev type.
     60      ([DEV TYPE] [MAJOR#] [MINOR#])
     61      Name:
     62         File/Directory/Device name
     63      Type:
     64         dir: creates a directory
     65         file: creates a file
     66         dev: creates a device
     67      Permissions:
     68         chmod the created file
     69      User/Group:
     70         chown the created file/dir to this user/group
     71      Dev Type:
     72         char:  character [needs MAJOR#, MINOR#]
     73         block: block [needs MAJOR#, MINOR#]
     74         pipe:  pipe
     75      Major#:
     76         Used by character and block devices.
     77      Minor#:
     78         Used by character and block devices.
     79
Note: See TracChangeset for help on using the changeset viewer.